Package org.apache.fop.render.pdf
Class PDFDocumentNavigationHandler
java.lang.Object
org.apache.fop.render.pdf.PDFDocumentNavigationHandler
- All Implemented Interfaces:
IFDocumentNavigationHandler
Implementation of the
IFDocumentNavigationHandler interface for PDF output.-
Constructor Summary
ConstructorsConstructorDescriptionPDFDocumentNavigationHandler(PDFDocumentHandler documentHandler) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddResolvedAction(AbstractAction action) voidcommit()Commits all pending elements to the PDF document.intvoidvoidRender the bookmark tree.voidrenderLink(Link link) voidrenderNamedDestination(NamedDestination destination) Renders a named destination.
-
Constructor Details
-
PDFDocumentNavigationHandler
Default constructor.- Parameters:
documentHandler- the parent document handler
-
-
Method Details
-
renderNamedDestination
Renders a named destination.- Specified by:
renderNamedDestinationin interfaceIFDocumentNavigationHandler- Parameters:
destination- the named destination- Throws:
IFException- if an error occurs while handling this event
-
renderBookmarkTree
Render the bookmark tree.- Specified by:
renderBookmarkTreein interfaceIFDocumentNavigationHandler- Parameters:
tree- the bookmark tree- Throws:
IFException- if an error occurs while handling this event
-
renderLink
- Specified by:
renderLinkin interfaceIFDocumentNavigationHandler- Parameters:
link- a link- Throws:
IFException- of not caught
-
commit
public void commit()Commits all pending elements to the PDF document. -
addResolvedAction
- Specified by:
addResolvedActionin interfaceIFDocumentNavigationHandler- Parameters:
action- an action- Throws:
IFException- of not caught
-
getPageIndex
public int getPageIndex()- Specified by:
getPageIndexin interfaceIFDocumentNavigationHandler
-
registerIncompleteActions
public void registerIncompleteActions()
-