Class PdfStructureTreeRoot
java.lang.Object
com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfObject
com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfDictionary
com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfStructureTreeRoot
The structure tree root corresponds to the highest hierarchy level in a tagged PDF.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate HashMapprivate PdfIndirectReferenceprivate PdfWriterHolds value of property writer. -
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.voidMaps the user tags to the standard tags.private voidnodeProcess(PdfDictionary struc, PdfIndirectReference reference) (package private) voidsetPageMark(int page, PdfIndirectReference struc) Methods inherited from class PdfDictionary
contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, isCatalog, isDictionaryType, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putDel, putEx, remove, size, toPdfMethods inherited from class PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, toString, 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
-
mapRole
-
getWriter
-
getReference
Gets the reference this object will be written to.- Returns:
- the reference this object will be written to
-
setPageMark
-
nodeProcess
- Throws:
IOException
-
buildTree
- Throws:
IOException
-