|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.itextpdf.text.pdf.mc.StructureItem
com.itextpdf.text.pdf.mc.StructureObject
public class StructureObject
A StructureItem that refers to an object from an OBJR dictionary.
| Field Summary | |
|---|---|
protected PdfObject |
obj
An object referred to by an OBJR dictionary. |
protected PdfIndirectReference |
objref
The reference to the object. |
protected PdfIndirectReference |
ref
The reference of the structure element of which the properties are stored. |
protected PdfDictionary |
structElem
The structure element of which the properties are stored. |
protected int |
structParent
The StructParent value of the object. |
| Fields inherited from class com.itextpdf.text.pdf.mc.StructureItem |
|---|
pageref |
| Constructor Summary | |
|---|---|
StructureObject(PdfDictionary structElem,
PdfIndirectReference ref,
PdfDictionary dict)
Creates a StructureObject for an OBJR dictionary. |
|
| Method Summary | |
|---|---|
int |
checkStructParent(int pg,
int sp)
Checks if a StructParent corresponds with the StructParent stored in the object. |
PdfDictionary |
getObjAsDict()
Returns the object referred to by the OBJR dictionary. |
PdfIndirectReference |
getObjRef()
Returns the reference to the object. |
PdfIndirectReference |
getRef()
Returns the structure element's reference. |
PdfDictionary |
getStructElem()
Returns the structure element. |
String |
toString()
Creates a String representation of the object. |
| Methods inherited from class com.itextpdf.text.pdf.mc.StructureItem |
|---|
checkMCID, getPageref |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected PdfDictionary structElem
protected PdfIndirectReference ref
protected PdfObject obj
protected PdfIndirectReference objref
protected int structParent
| Constructor Detail |
|---|
public StructureObject(PdfDictionary structElem,
PdfIndirectReference ref,
PdfDictionary dict)
structElem - the parent structure elementref - the reference of the parent structure elementdict - the object reference dictionary| Method Detail |
|---|
public PdfDictionary getStructElem()
public PdfIndirectReference getRef()
public PdfDictionary getObjAsDict()
public PdfIndirectReference getObjRef()
public int checkStructParent(int pg,
int sp)
checkStructParent in class StructureItempg - the page reference that needs to be checkedsp - the structParent that needs to be checked
public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||