Adds title elements for each tree and subtree in the specified root tree.
Adds title elements for each tree and subtree in the specified root tree. Tree titles can be specified in the configuration file for each tree.
Generates bookmarks for the structure of the DocumentTree.
Generates bookmarks for the structure of the DocumentTree. Individual
bookmarks can stem from tree or subtree titles, document titles or
document sections, depending on which recursion depth is configured.
The configuration key for setting the recursion depth is pdf.bookmarks.depth
.
the document tree to generate bookmarks for
a fragment map containing the generated bookmarks
Indicates whether the specified navigatable contains at least one document.
Indicates whether the specified navigatable contains at least one document.
Indicates whether the specified tree contains at least one document.
Indicates whether the specified tree contains at least one document.
Adds title elements for each document in the specified tree, including documents in subtrees.
Adds title elements for each document in the specified
tree, including documents in subtrees. Document titles will be obtained either
from a Title
element in the document's content or from its configuration header.
Inserts a table of content into the specified document tree.
Inserts a table of content into the specified document tree.
The recursion depth can be set with the configuration key
pdf.toc.depth
.
Prepares the document tree before rendering the interim XSL-FO output.
Prepares the document tree before rendering the interim XSL-FO output. Preparation may include insertion of tree or document titles and a table of content, depending on configuration.
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, depending on
configuration settings.
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
The default FOforPDF instance using a PDFConfig with all optional features like document titles, bookmarks and table of content enabled.