Class PdfStructTreeController
java.lang.Object
com.itextpdf.text.pdf.PdfStructTreeController
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPdfStructTreeController(PdfReader reader, PdfCopy writer) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidaddKid(PdfDictionary parent, PdfObject kid) protected voidprotected voidattachStructTreeRootKids(PdfObject firstNotNullKid) Add kid to structureTreeRoot from structTreeRootstatic booleancheckTagged(PdfReader reader) static booleancompareObjects(PdfObject value1, PdfObject value2) voidcopyStructTreeForPage(PdfNumber sourceArrayNumber, int newArrayNumber) static PdfObjectgetDirectObject(PdfObject object) protected void
-
Field Details
-
reader
-
-
Constructor Details
-
PdfStructTreeController
- Throws:
BadPdfFormatException
-
-
Method Details
-
setReader
- Throws:
BadPdfFormatException
-
checkTagged
-
getDirectObject
-
copyStructTreeForPage
public void copyStructTreeForPage(PdfNumber sourceArrayNumber, int newArrayNumber) throws BadPdfFormatException, IOException - Throws:
BadPdfFormatExceptionIOException
-
attachStructTreeRootKids
protected void attachStructTreeRootKids(PdfObject firstNotNullKid) throws IOException, BadPdfFormatException Add kid to structureTreeRoot from structTreeRoot- Throws:
IOExceptionBadPdfFormatException
-
compareObjects
-
addClass
- Throws:
BadPdfFormatException
-
addRole
- Throws:
BadPdfFormatException
-
addKid
-