public class

ContentContainer

extends ContentNode
java.lang.Object
   ↳ com.pdftron.layout.ContentElement
     ↳ com.pdftron.layout.ContentNode
       ↳ com.pdftron.layout.ContentContainer
Known Direct Subclasses

Class Overview

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.

Summary

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

Public Methods

public List addList ()

Adds a list to the container.

Returns
  • The list object

public Paragraph addParagraph ()

Adds a paragraph to the container.

Returns
  • The paragraph object

public Paragraph addParagraph (String text)

Adds a paragraph with the given text to the container.

Parameters
text The text of the paragraph
Returns
  • The paragraph object

public Table addTable ()

Adds a table to the container.

Returns
  • The table object