| java.lang.Object | |||
| ↳ | com.pdftron.layout.ContentElement | ||
| ↳ | com.pdftron.layout.ContentNode | ||
| ↳ | com.pdftron.layout.ListItem | ||
A class representing an item in a list in the document content tree.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| List |
addList()
Add a nested list to the list item.
| ||||||||||
| Paragraph |
addParagraph()
Adds a paragraph to the document.
| ||||||||||
| Paragraph |
addParagraph(String text)
Add a new paragraph with the specified text to the list item.
| ||||||||||
| int |
getIndentationLevel()
Get the indentation level of the list item.
| ||||||||||
| int |
getItemIndex()
Get the index of the list item within the parent list.
| ||||||||||
| int |
getListIdentifier()
Get the identifier of the list.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.layout.ContentNode
| |||||||||||
From class
com.pdftron.layout.ContentElement
| |||||||||||
From class
java.lang.Object
| |||||||||||
Add a nested list to the list item.
| PDFNetException |
|---|
Add a new paragraph with the specified text to the list item.
| text | The text content of the paragraph. |
|---|
| PDFNetException |
|---|
Get the index of the list item within the parent list.
| PDFNetException |
|---|