org.apache.fop.pdf
Class PDFOutline
- PDFWritable
This represents a single Outline object in a PDF, including the root Outlines
object. Outlines provide the bookmark bar, usually rendered to the right of
a PDF document in user agents such as Acrobat Reader
PDFOutline(String title, String action, boolean openItem) - Create a PDF outline with the title and action.
|
encode , encodeString , encodeText , formatDateTime , formatObject , getDocument , getDocumentSafely , getGeneration , getObjectID , getObjectNumber , hasObjectNumber , makeReference , output , referencePDF , setDocument , setObjectNumber , toInlinePDFString , toPDF , toPDFString |
PDFOutline
public PDFOutline(String title,
String action,
boolean openItem)
Create a PDF outline with the title and action.
title
- the title of the outline entry (can only be null for root Outlines obj)action
- the action for this outlineopenItem
- indicator of whether child items are visible or not
addOutline
public void addOutline(PDFOutline outline)
Add a sub element to this outline.
setTitle
public void setTitle(String t)
Set the title of this Outline object.
t
- the title of the outline
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.