Class PdfStructureTreeRoot
java.lang.Object
com.itextpdf.text.pdf.PdfObject
com.itextpdf.text.pdf.PdfDictionary
com.itextpdf.text.pdf.PdfStructureTreeRoot
- All Implemented Interfaces:
IPdfStructureElement, Serializable
The structure tree root corresponds to the highest hierarchy level in a tagged PDF.
- Author:
- Paulo Soares
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(PdfName name) Gets the first entarance of attribute.getMappedClass(PdfName name) Gets the reference this object will be written to.Gets the writer.voidvoidMaps the user tags to the standard tags.voidsetAttribute(PdfName name, PdfObject obj) Sets the attribute value.Methods inherited from class PdfDictionary
checkType, clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, 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
-
Field Details
-
classes
-
-
Method Details
-
mapRole
-
mapClass
-
getMappedClass
-
getWriter
-
getNumTree
- Throws:
IOException
-
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
-
getAttribute
Gets the first entarance of attribute.- Specified by:
getAttributein interfaceIPdfStructureElement- Since:
- 5.3.4
-
setAttribute
Sets the attribute value.- Specified by:
setAttributein interfaceIPdfStructureElement- Since:
- 5.3.4
-