|
||||||||||
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.StructureMCID
public class StructureMCID
Object that stores an item that is part of the document structure. It can refer to a marked-content sequence in a page or an object reference (in this case the subclass StructureObject is used).
Field Summary | |
---|---|
protected int |
mcid
The mcid of the structure element. |
Fields inherited from class com.itextpdf.text.pdf.mc.StructureItem |
---|
pageref |
Constructor Summary | |
---|---|
StructureMCID(PdfDictionary mcr)
Creates a StructurItem using an MCR dictionary. |
|
StructureMCID(PdfIndirectReference pg,
PdfNumber mcid)
Creates a StructureMCID using an MCID. |
Method Summary | |
---|---|
int |
checkMCID(int pg,
int mcid)
Checks if the MCID in this object corresponds with the stored number |
String |
toString()
Creates a String representation of the object. |
Methods inherited from class com.itextpdf.text.pdf.mc.StructureItem |
---|
checkStructParent, getPageref |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int mcid
Constructor Detail |
---|
public StructureMCID(PdfIndirectReference pg, PdfNumber mcid)
mcid
- an MCIDpublic StructureMCID(PdfDictionary mcr)
mcr
- an MCR dictionaryMethod Detail |
---|
public int checkMCID(int pg, int mcid)
checkMCID
in class StructureItem
mcid
- the MCIDpg
- the page reference that needs to be checked
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |