Package com.itextpdf.kernel.pdf
Class PdfNameTree
java.lang.Object
com.itextpdf.kernel.pdf.GenericNameTree
com.itextpdf.kernel.pdf.PdfNameTree
- All Implemented Interfaces:
IPdfNameTreeAccess
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPdfNameTree
(PdfCatalog catalog, PdfName treeType) Creates the NameTree of current Document -
Method Summary
Modifier and TypeMethodDescriptionprivate static PdfArray
getDestArray
(PdfObject obj) getNames()
Retrieves the names stored in the name treeprivate void
private static void
normalizeDestinations
(Map<PdfString, PdfObject> items) private LinkedHashMap
<PdfString, PdfObject> Methods inherited from class com.itextpdf.kernel.pdf.GenericNameTree
addEntry, addEntry, addEntry, buildTree, getEntry, getEntry, getItems, getKeys, isModified, readTree, removeEntry, setItems, setModified
-
Field Details
-
catalog
-
treeType
-
-
Constructor Details
-
PdfNameTree
Creates the NameTree of current Document- Parameters:
catalog
- Document catalogtreeType
- the type of tree. Dests Tree, AP Tree etc.
-
-
Method Details
-
getNames
Retrieves the names stored in the name treeWhen non-textual names are required, use
- Returns:
- Map containing the PdfObjects stored in the tree
-
readFromCatalog
-
normalizeDestinations
-
insertDestsEntriesFromCatalog
-
getDestArray
-