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.
Attributes
depth
the recursion depth through trees, documents and sections
result
the rendered result tree to generate bookmarks for