Package com.itextpdf.text.pdf
Class PdfStructTreeController
- java.lang.Object
-
- com.itextpdf.text.pdf.PdfStructTreeController
-
public class PdfStructTreeController extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PdfStructTreeController.returnType
-
Constructor Summary
Constructors Modifier Constructor Description protected
PdfStructTreeController(PdfReader reader, PdfCopy writer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addClass(PdfObject object)
protected void
addKid(PdfDictionary parent, PdfObject kid)
protected void
addRole(PdfName structType)
protected void
attachStructTreeRootKids(PdfObject firstNotNullKid)
Add kid to structureTreeRoot from structTreeRootstatic boolean
checkTagged(PdfReader reader)
static boolean
compareObjects(PdfObject value1, PdfObject value2)
void
copyStructTreeForPage(PdfNumber sourceArrayNumber, int newArrayNumber)
static PdfObject
getDirectObject(PdfObject object)
protected void
setReader(PdfReader reader)
-
-
-
Field Detail
-
reader
protected PdfReader reader
-
-
Constructor Detail
-
PdfStructTreeController
protected PdfStructTreeController(PdfReader reader, PdfCopy writer) throws BadPdfFormatException
- Throws:
BadPdfFormatException
-
-
Method Detail
-
setReader
protected void setReader(PdfReader reader) throws BadPdfFormatException
- Throws:
BadPdfFormatException
-
checkTagged
public static boolean checkTagged(PdfReader reader)
-
copyStructTreeForPage
public void copyStructTreeForPage(PdfNumber sourceArrayNumber, int newArrayNumber) throws BadPdfFormatException, IOException
- Throws:
BadPdfFormatException
IOException
-
attachStructTreeRootKids
protected void attachStructTreeRootKids(PdfObject firstNotNullKid) throws IOException, BadPdfFormatException
Add kid to structureTreeRoot from structTreeRoot- Throws:
IOException
BadPdfFormatException
-
addClass
protected void addClass(PdfObject object) throws BadPdfFormatException
- Throws:
BadPdfFormatException
-
addRole
protected void addRole(PdfName structType) throws BadPdfFormatException
- Throws:
BadPdfFormatException
-
addKid
protected void addKid(PdfDictionary parent, PdfObject kid)
-
-