java.lang.Object | |
↳ | com.pdftron.pdf.struct.ContentItem |
Content items are graphical objects that exist in the document independently of the structure tree but are associated with structure elements. Content items are leaf nodes of the structure tree.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | e_MCID | The Constant e_MCID. | |||||||||
int | e_MCR | The Constant e_MCR. | |||||||||
int | e_OBJR | The Constant e_OBJR. | |||||||||
int | e_Unknown | The Constant e_Unknown. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
close()
Frees the native memory of the object.
| ||||||||||
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
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.lang.AutoCloseable
|
The Constant e_MCID.
The Constant e_MCR.
The Constant e_OBJR.
The Constant e_Unknown.
Frees the native memory of the object. This can be explicity called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.
PDFNetException |
---|
Frees the native memory of the object. This can be explicity called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.
PDFNetException |
---|
Get the containing Stream object.
Note: this method only applies to content items with type e_MCR.
PDFNetException |
---|
Get the marked-content identifier.
Note: this method only applies to content items with types e_MCR or e_MCID.
PDFNetException |
---|
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.
PDFNetException |
---|
Get the referenced object.
Note: this method only applies to content items with type e_OBJR.
PDFNetException |
---|
Get the Stream owner.
Note: this method only applies to content items with type e_MCR.
PDFNetException |
---|