Packages

trait PlayFop extends AnyRef

The primary entry point into PlayFOP for Scala applications.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PlayFop
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def newFop[U](outputFormat: String, output: OutputStream, autoDetectFontsForPDF: Boolean = false, foUserAgentBlock: (FOUserAgent) ⇒ U = _: FOUserAgent =>): Fop

    Creates a new Fop instance, optionally auto-detecting fonts (for PDF output) and/or applying a code block to the FOUserAgent.

    Creates a new Fop instance, optionally auto-detecting fonts (for PDF output) and/or applying a code block to the FOUserAgent. Sets up the Fop to save output to the supplied OutputStream in the supplied format.

    Note: This method is offered primarily for client code to interrogate the Apache FOP environment (for example, to determine available fonts). Code wishing to process XSL-FO with Apache FOP should rely on a process... method instead.

    U

    the return type of foUserAgentBlock (typically inferred, as opposed to explicitly specified)

    outputFormat

    the format the Fop should generate

    output

    the OutputStream to which the Fop should save output

    autoDetectFontsForPDF

    whether to auto-detect fonts

    foUserAgentBlock

    the code block for the Fop's FOUserAgent

    returns

    the Fop

  2. abstract def processScalaXml[U](xslfo: Node, outputFormat: String, autoDetectFontsForPDF: Boolean = false, foUserAgentBlock: (FOUserAgent) ⇒ U = _: FOUserAgent =>): Array[Byte]

    Processes XSL-FO provided as a scala-xml Node.

    Processes XSL-FO provided as a scala-xml Node. Optionally auto-detects fonts (for PDF output) and/or applies a code block to the FOUserAgent. Generates output in the specified format.

    U

    the return type of foUserAgentBlock (typically inferred, as opposed to explicitly specified)

    xslfo

    the XSL-FO to process

    outputFormat

    the format to generate

    autoDetectFontsForPDF

    whether to auto-detect fonts

    foUserAgentBlock

    the code block for the FOUserAgent

    returns

    the Apache FOP output

  3. abstract def processStringXml[U](xslfo: String, outputFormat: String, autoDetectFontsForPDF: Boolean = false, foUserAgentBlock: (FOUserAgent) ⇒ U = _: FOUserAgent =>): Array[Byte]

    Processes XSL-FO provided as a String of XML.

    Processes XSL-FO provided as a String of XML. Optionally auto-detects fonts (for PDF output) and/or applies a code block to the FOUserAgent. Generates output in the specified format.

    U

    the return type of foUserAgentBlock (typically inferred, as opposed to explicitly specified)

    xslfo

    the XSL-FO to process

    outputFormat

    the format to generate

    autoDetectFontsForPDF

    whether to auto-detect fonts

    foUserAgentBlock

    the code block for the FOUserAgent

    returns

    the Apache FOP output

  4. abstract def processTwirlXml[U](xslfo: Xml, outputFormat: String, autoDetectFontsForPDF: Boolean = false, foUserAgentBlock: (FOUserAgent) ⇒ U = _: FOUserAgent =>): Array[Byte]

    Processes XSL-FO generated from a Twirl XML template.

    Processes XSL-FO generated from a Twirl XML template. Optionally auto-detects fonts (for PDF output) and/or applies a code block to the FOUserAgent. Generates output in the specified format.

    U

    the return type of foUserAgentBlock (typically inferred, as opposed to explicitly specified)

    xslfo

    the XSL-FO to process

    outputFormat

    the format to generate

    autoDetectFontsForPDF

    whether to auto-detect fonts

    foUserAgentBlock

    the code block for the FOUserAgent

    returns

    the Apache FOP output

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped