Package com.aowagie.text.pdf
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 HashMap
private final PdfIndirectReference
private final PdfWriter
Holds value of property writer.Fields inherited from class com.aowagie.text.pdf.PdfDictionary
CATALOG, hashMap, OUTLINES, PAGE
Fields inherited from class com.aowagie.text.pdf.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) void
Gets the reference this object will be written to.Gets the writer.private void
nodeProcess
(PdfDictionary struc, PdfIndirectReference reference) Methods inherited from class com.aowagie.text.pdf.PdfDictionary
contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, remove, size, toPdf, toString
Methods inherited from class com.aowagie.text.pdf.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
Gets the writer.- Returns:
- the writer
-
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
-