public class PdfStructTreeController extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PdfStructTreeController.returnType |
Modifier | Constructor and Description |
---|---|
protected |
PdfStructTreeController(PdfReader reader, PdfCopy writer) |
Modifier and Type | Method and 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 structTreeRoot
|
static 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) |
protected PdfReader reader
protected PdfStructTreeController(PdfReader reader, PdfCopy writer) throws BadPdfFormatException
BadPdfFormatException
protected void setReader(PdfReader reader) throws BadPdfFormatException
BadPdfFormatException
public static boolean checkTagged(PdfReader reader)
public void copyStructTreeForPage(PdfNumber sourceArrayNumber, int newArrayNumber) throws BadPdfFormatException, IOException
BadPdfFormatException
IOException
protected void attachStructTreeRootKids(PdfObject firstNotNullKid) throws IOException, BadPdfFormatException
IOException
BadPdfFormatException
protected void addClass(PdfObject object) throws BadPdfFormatException
BadPdfFormatException
protected void addRole(PdfName structType) throws BadPdfFormatException
BadPdfFormatException
protected void addKid(PdfDictionary parent, PdfObject kid)
Copyright © 2016. All rights reserved.