com.itextpdf.text.pdf
Class PdfStructTreeController

java.lang.Object
  extended by com.itextpdf.text.pdf.PdfStructTreeController

public class PdfStructTreeController
extends Object


Nested Class Summary
static class PdfStructTreeController.returnType
           
 
Field Summary
protected  PdfReader reader
           
static PdfName[] standardTypes
           
 
Constructor Summary
protected PdfStructTreeController(PdfReader reader, PdfCopy writer)
           
 
Method Summary
protected  void addClass(PdfObject object)
           
protected  void addKid(PdfDictionary parent, PdfObject kid)
           
protected  void addRole(PdfName structType)
           
static boolean compareObjects(PdfObject value1, PdfObject value2)
           
 void copyStructTreeForPage(PdfNumber sourceArrayNumber, int newArrayNumber)
           
static PdfObject getDirectObject(PdfObject object)
           
protected  void setReader(PdfReader reader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reader

protected PdfReader reader

standardTypes

public static final PdfName[] standardTypes
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

getDirectObject

public static PdfObject getDirectObject(PdfObject object)

copyStructTreeForPage

public void copyStructTreeForPage(PdfNumber sourceArrayNumber,
                                  int newArrayNumber)
                           throws BadPdfFormatException,
                                  IOException
Throws:
BadPdfFormatException
IOException

compareObjects

public static boolean compareObjects(PdfObject value1,
                                     PdfObject value2)

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)


Copyright © 2013. All Rights Reserved.