public class StructureMCID extends StructureItem
Modifier and Type | Field and Description |
---|---|
protected int |
mcid
The mcid of the structure element.
|
pageref
Constructor and Description |
---|
StructureMCID(PdfDictionary mcr)
Creates a StructurItem using an MCR dictionary.
|
StructureMCID(PdfIndirectReference pg, PdfNumber mcid)
Creates a StructureMCID using an MCID.
|
Modifier and Type | Method and Description |
---|---|
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.
|
checkStructParent, getPageref
public StructureMCID(PdfIndirectReference pg, PdfNumber mcid)
mcid
- an MCID
public StructureMCID(PdfDictionary mcr)
mcr
- an MCR dictionary
public int checkMCID(int pg, int mcid)
checkMCID
in class StructureItem
mcid
- the MCID
pg
- the page reference that needs to be checked
public String toString()
toString
in class Object
Object.toString()
Copyright © 1998–2022. All rights reserved.