Class PdfStructureTreeRoot
java.lang.Object
org.openpdf.text.pdf.PdfObject
org.openpdf.text.pdf.PdfDictionary
org.openpdf.text.pdf.PdfStructureTreeRoot
The structure tree root corresponds to the highest hierarchy level in a tagged PDF.
- Author:
- Paulo Soares (psoares@consiste.pt)
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionintaddExistingObject(PdfIndirectReference reference) Adds a reference to the existing (already added to the document) object to the parentTree.Gets the reference this object will be written to.Gets the writer.voidMaps the user tags to the standard tags.Methods inherited from class PdfDictionary
clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, getKeysAndValues, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size, toPdf, toStringMethods inherited from class PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
-
Method Details
-
mapRole
-
getWriter
-
getReference
Gets the reference this object will be written to.- Returns:
- the reference this object will be written to
- Since:
- 2.1.6 method removed in 2.1.5, but restored in 2.1.6
-
addExistingObject
Adds a reference to the existing (already added to the document) object to the parentTree. This method can be used when the object is need to be referenced via /StructParent key.- Returns:
- key which define the object record key (e.g. in /NUMS array)
-