public class PDFDocumentNavigationHandler extends Object implements IFDocumentNavigationHandler
IFDocumentNavigationHandler
interface for PDF output.Constructor and Description |
---|
PDFDocumentNavigationHandler(PDFDocumentHandler documentHandler)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addResolvedAction(AbstractAction action) |
void |
commit()
Commits all pending elements to the PDF document.
|
int |
getPageIndex() |
void |
registerIncompleteActions() |
void |
renderBookmarkTree(BookmarkTree tree)
Render the bookmark tree.
|
void |
renderLink(Link link) |
void |
renderNamedDestination(NamedDestination destination)
Renders a named destination.
|
public PDFDocumentNavigationHandler(PDFDocumentHandler documentHandler)
documentHandler
- the parent document handlerpublic void renderNamedDestination(NamedDestination destination) throws IFException
renderNamedDestination
in interface IFDocumentNavigationHandler
destination
- the named destinationIFException
- if an error occurs while handling this eventpublic void renderBookmarkTree(BookmarkTree tree) throws IFException
renderBookmarkTree
in interface IFDocumentNavigationHandler
tree
- the bookmark treeIFException
- if an error occurs while handling this eventpublic void renderLink(Link link) throws IFException
renderLink
in interface IFDocumentNavigationHandler
link
- a linkIFException
- of not caughtpublic void commit()
public void addResolvedAction(AbstractAction action) throws IFException
addResolvedAction
in interface IFDocumentNavigationHandler
action
- an actionIFException
- of not caughtpublic int getPageIndex()
getPageIndex
in interface IFDocumentNavigationHandler
public void registerIncompleteActions()
Copyright © 2025 Apache Software Foundation. All rights reserved.