public class Outlines extends Dictionary
This class represents a PDF document outline. A document outline is an optional component of a PDF document and is accessible from the document's Catalog. The outline consists of a tree-structured hierarchy of outline items (sometimes called bookmarks) which can be used to display a documents structure to the user.
The outlines class does not build a visible structure; it only represents the non-visual structure of the outline. The OutlineItemTreeNode available in the packageorg.icepdf.core.ri.common provides an example on converting this hierarchy to a Swing JTree.
org.icepdf.ri.common.utility.outline.OutlineItemTreeNode,
OutlineItem| Modifier and Type | Field and Description |
|---|---|
static Name |
COUNT_KEY |
static Name |
D_KEY |
entries, FORM_TYPE_KEY, inited, isDeleted, isNew, LENGTH_KEY, library, SUBTYPE_KEY, TYPE_KEY| Constructor and Description |
|---|
Outlines(Library l,
java.util.HashMap h)
Creates a new instance of Outlines.
|
| Modifier and Type | Method and Description |
|---|---|
OutlineItem |
getRootOutlineItem()
Gets the root OutlineItem.
|
getEntries, getFloat, getInt, getLibrary, getNumber, getObject, getPObjectReference, init, isDeleted, isNew, setDeleted, setNew, setPObjectReference, toStringpublic Outlines(Library l, java.util.HashMap h)
l - document library.h - Outlines dictionary entries.public OutlineItem getRootOutlineItem()