Processes the tree by first using the specified render function to produce the interim XSL-FO result, transform the result to PDF and write it to the specified final output.
Processes the tree by first using the specified render function to produce the interim XSL-FO result, transform the result to PDF and write it to the specified final output.
the tree to render to the interim result
the render function for producing the interim XSL-FO result
the output to write the final result to
Renders the XSL-FO that serves as a basis for producing the final PDF output.
Renders the XSL-FO that serves as a basis for producing the final PDF output.
The result should include the output from rendering the documents in the
specified tree as well as any additional insertions like bookmarks or
table of content. For this the specified DocumentTree
instance may get
modified before passing it to the given render function.
The default implementation simply delegates to an instance of FOforPDF
which uses a PDFConfig
object to drive configuration. In rare cases
where the flexibility provided by PDFConfig
is not sufficient, this
method may get overridden.
the document tree serving as input for the renderer
the actual render function for producing the XSL-FO output
the rendered XSL-FO as a String
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. The optional sourcePaths
argument
may be used to allow resolving relative paths for
loading external files like images.
the input in XSL-FO format
the output to write the final result to
the paths that may contain files like images which will be used to resolve relative paths
Allows to specify configuration options like insertion of bookmarks or table of content.
Allows to specify configuration options like insertion of bookmarks or table of content.
Specifies the minimum required level for a system message to get included into the output by this renderer.
Specifies the minimum required level for a system message to get included into the output by this renderer.
The default instance of the PDF renderer.