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.
|
int |
getPageIndex() |
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 IFDocumentNavigationHandlerdestination - the named destinationIFException - if an error occurs while handling this eventpublic void renderBookmarkTree(BookmarkTree tree) throws IFException
renderBookmarkTree in interface IFDocumentNavigationHandlertree - the bookmark treeIFException - if an error occurs while handling this eventpublic void renderLink(Link link) throws IFException
renderLink in interface IFDocumentNavigationHandlerlink - a linkIFException - of not caughtpublic void commit()
public void addResolvedAction(AbstractAction action) throws IFException
addResolvedAction in interface IFDocumentNavigationHandleraction - an actionIFException - of not caughtpublic int getPageIndex()
getPageIndex in interface IFDocumentNavigationHandlerCopyright 1999-2022 The Apache Software Foundation. All Rights Reserved.