public class PDFOutline extends PDFObject
DATE_FORMAT, log
Constructor and Description |
---|
PDFOutline(java.lang.String title,
java.lang.String action,
boolean openItem)
Create a PDF outline with the title and action.
|
Modifier and Type | Method and Description |
---|---|
void |
addOutline(PDFOutline outline)
Add a sub element to this outline.
|
void |
setTitle(java.lang.String t)
Set the title of this Outline object.
|
protected byte[] |
toPDF()
Encodes the object as a byte array for output to a PDF file.
|
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatDateTime, formatDateTime, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, output, outputInline, referencePDF, setDocument, setObjectNumber, setParent, toPDFString
public PDFOutline(java.lang.String title, java.lang.String action, boolean openItem)
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 notpublic void setTitle(java.lang.String t)
t
- the title of the outlinepublic void addOutline(PDFOutline outline)
outline
- a sub outlineCopyright 1999-2010 The Apache Software Foundation. All Rights Reserved.