| java.lang.Object | |
| ↳ | com.pdftron.layout.ContentElement |
Known Direct Subclasses
|
Known Indirect Subclasses
|
Base class for all content elements in the document content tree. It contains methods to retrieve instances of derived classes via the asDerivedClass() methods.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ContentNode |
asContentNode()
Retrieve the
ContentNode object for this content element if it is a content node. | ||||||||||
| List |
asList()
Retrieve the
List object for this content element if it is a list. | ||||||||||
| ListItem |
asListItem()
Retrieve the
ListItem object for this content element if it is a list item. | ||||||||||
| Paragraph |
asParagraph()
Retrieve the
Paragraph object for this content element if it is a paragraph. | ||||||||||
| Table |
asTable()
Retrieve the
Table object for this content element if it is a table. | ||||||||||
| TableCell |
asTableCell()
Retrieve the
TableCell object for this content element if it is a table cell. | ||||||||||
| TableRow |
asTableRow()
Retrieve the
TableRow object for this content element if it is a table row. | ||||||||||
| TextRun |
asTextRun()
Retrieve the
TextRun object for this content element if it is a text run. | ||||||||||
| TextStyledElement |
getTextStyledElement()
Retrieve the
TextStyledElement object for manipulating the text
style of this content element. | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Retrieve the ContentNode object for this content element if it is a content node.
ContentNode object, or null if it is not a content node
| PDFNetException |
|---|
Retrieve the List object for this content element if it is a list.
List object, or null if it is not a list
| PDFNetException |
|---|
Retrieve the ListItem object for this content element if it is a list item.
ListItem object, or null if it is not a list item
| PDFNetException |
|---|
Retrieve the Paragraph object for this content element if it is a paragraph.
Paragraph object, or null if it is not a paragraph
| PDFNetException |
|---|
Retrieve the Table object for this content element if it is a table.
Table object, or null if it is not a table
| PDFNetException |
|---|
Retrieve the TableCell object for this content element if it is a table cell.
TableCell object, or null if it is not a table cell
| PDFNetException |
|---|
Retrieve the TableRow object for this content element if it is a table row.
TableRow object, or null if it is not a table row
| PDFNetException |
|---|
Retrieve the TextRun object for this content element if it is a text run.
TextRun object, or null if it is not a text run
| PDFNetException |
|---|
Retrieve the TextStyledElement object for manipulating the text
style of this content element.
TextStyledElement object