public class PDFDocumentNavigationHandler extends java.lang.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.
|
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 caughtCopyright 1999-2017 The Apache Software Foundation. All Rights Reserved.