public class ContentItem
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
e_MCID
The Constant e_MCID.
|
static int |
e_MCR
The Constant e_MCR.
|
static int |
e_OBJR
The Constant e_OBJR.
|
static int |
e_Unknown
The Constant e_Unknown.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Frees the native memory of the object.
|
Obj |
getContainingStm()
Get the containing Stream object.
|
int |
getMCID()
Get the marked-content identifier.
|
Page |
getPage()
The page on which the marked content is drawn, whether directly as part of
page content or indirectly by being in a Form XObject or annotation drawn
on that page.
|
SElement |
getParent()
Find the parent structure element.
|
Obj |
getRefObj()
Get the referenced object.
|
Obj |
getSDFObj()
Get the SDFObj.
|
Obj |
getStmOwner()
Get the Stream owner.
|
int |
getType()
Get the ContentItem type
|
public static final int e_MCR
public static final int e_MCID
public static final int e_OBJR
public static final int e_Unknown
public void destroy() throws PDFNetException
PDFNetException
public int getType() throws PDFNetException
PDFNetException
public SElement getParent() throws PDFNetException
PDFNetException
public Page getPage() throws PDFNetException
PDFNetException
public Obj getSDFObj() throws PDFNetException
PDFNetException
public int getMCID() throws PDFNetException
Note: this method only applies to content items with types e_MCR or e_MCID.
PDFNetException
public Obj getContainingStm() throws PDFNetException
Note: this method only applies to content items with type e_MCR.
PDFNetException
public Obj getStmOwner() throws PDFNetException
Note: this method only applies to content items with type e_MCR.
PDFNetException
public Obj getRefObj() throws PDFNetException
Note: this method only applies to content items with type e_OBJR.
PDFNetException