org.apache.fop.pdf
Class PDFOutline
java.lang.Object
org.apache.fop.pdf.PDFObject
org.apache.fop.pdf.PDFOutline
- public class PDFOutline
- extends PDFObject
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
- Author:
- Kelly A. Campbell
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PDFOutline
public PDFOutline(int number,
String title,
String action)
- Parameters:
number
- the object id numbertitle
- the title of the outline entry (can only be null for root Outlines obj)
setTitle
public void setTitle(String title)
addOutline
public void addOutline(PDFOutline outline)
- Add a sub element to this outline
toPDF
protected byte[] toPDF()
- represent the object in PDF
- Returns:
- PDF string
Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.