PDFRenderer

class PDFRenderer[F[_]](fopFactory: FopFactory, dispatcher: Dispatcher[F])(implicit evidence$1: Async[F])

Responsible for the final step in producing the binary PDF format from a single XSL-FO input stream that represents the entire document and its navigation elements.

class Object
trait Matchable
class Any

Value members

Concrete methods

def render(foInput: String, output: BinaryOutput[F], metadata: DocumentMetadata, staticDocuments: Seq[BinaryInput[F]]): F[Unit]

Render the given XSL-FO input as a PDF to the specified binary output.

Render the given XSL-FO input as a PDF to the specified binary output.

Value Params
foInput

the input in XSL-FO format

metadata

the metadata associated with the PDF

output

the output to write the final result to

staticDocuments

additional files like fonts or images that the renderer should resolve for FOP which will be used to resolve relative paths