laika.render.pdf

Members list

Concise view

Type members

Classlikes

Concatenates the XSL-FO that serves as a basis for producing the final PDF output and applies the default XSL-FO template to the entire result.

Concatenates the XSL-FO that serves as a basis for producing the final PDF output and applies the default XSL-FO template to the entire result.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Creates a FopFactory instance based on user configuration, registering all fonts to be embedded into the PDF.

Creates a FopFactory instance based on user configuration, registering all fonts to be embedded into the PDF.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class FopResourceResolver[F[_]](input: Seq[BinaryInput[F]], dispatcher: Dispatcher[F])(implicit evidence$1: Async[F]) extends ResourceResolver

Adapter for the ResourceResolver API of Apache FOP, allowing Laika to serve any kind of InputStream from its static input documents, including in-memory content or classpath resources, for which FOP does not have any support built in.

Adapter for the ResourceResolver API of Apache FOP, allowing Laika to serve any kind of InputStream from its static input documents, including in-memory content or classpath resources, for which FOP does not have any support built in.

The synchronous, blocking, and non-RT APIs of Apache FOP require the use of a cats-effect Dispatcher.

Note that this involves a small risk of resources leaking as Laika has to rely on Apache FOP for closing the InputStream, there is no way to know when it would be safe to do that within Laika.

Attributes

Graph
Supertypes
trait ResourceResolver
class Object
trait Matchable
class Any

Prepares a document tree for the PDF rendering step by inserting PDF bookmark elements.

Prepares a document tree for the PDF rendering step by inserting PDF bookmark elements.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
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.

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.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any