Class PdfStructureTreeRoot
java.lang.Object
com.aowagie.text.pdf.PdfObject
com.aowagie.text.pdf.PdfDictionary
com.aowagie.text.pdf.PdfStructureTreeRoot
The structure tree root corresponds to the highest hierarchy level in a tagged PDF.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final HashMapprivate final PdfIndirectReferenceprivate final PdfWriterHolds value of property writer.Fields inherited from class PdfDictionary
CATALOG, hashMap, OUTLINES, PAGEFields inherited from class PdfObject
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type -
Constructor Summary
ConstructorsConstructorDescriptionPdfStructureTreeRoot(PdfWriter writer) Creates a new instance of PdfStructureTreeRoot -
Method Summary
Modifier and TypeMethodDescription(package private) voidGets the reference this object will be written to.Gets the writer.private voidnodeProcess(PdfDictionary struc, PdfIndirectReference reference) Methods inherited from class PdfDictionary
contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, remove, size, toPdf, toStringMethods inherited from class PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, setContent, setIndRef, type
-
Field Details
-
parentTree
-
reference
-
writer
Holds value of property writer.
-
-
Constructor Details
-
PdfStructureTreeRoot
PdfStructureTreeRoot(PdfWriter writer) Creates a new instance of PdfStructureTreeRoot
-
-
Method Details
-
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
-
nodeProcess
- Throws:
IOException
-
buildTree
- Throws:
IOException
-