| java.lang.Object | |||
| ↳ | com.pdftron.layout.ContentElement | ||
| ↳ | com.pdftron.layout.ContentNode | ||
| ↳ | com.pdftron.layout.ContentContainer | ||
Known Direct Subclasses
|
A ContentContainer is a content node that content elements such as paragraphs, tables and lists can be added to.
Document bodies, headers, footers, table cells, floats and shape text boxes are all content containers.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| List |
addList()
Adds a list to the container.
| ||||||||||
| Paragraph |
addParagraph()
Adds a paragraph to the container.
| ||||||||||
| Paragraph |
addParagraph(String text)
Adds a paragraph with the given text to the container.
| ||||||||||
| Table |
addTable()
Adds a table to the container.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.layout.ContentNode
| |||||||||||
From class
com.pdftron.layout.ContentElement
| |||||||||||
From class
java.lang.Object
| |||||||||||
Adds a paragraph with the given text to the container.
| text | The text of the paragraph |
|---|
| PDFNetException |
|---|