All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
pdftron::Layout::ContentContainer Class Reference

#include <ContentTree.h>

+ Inheritance diagram for pdftron::Layout::ContentContainer:

Public Member Functions

Paragraph AddParagraph ()
 
Paragraph AddParagraph (const UString &text)
 
List AddList ()
 
Table AddTable ()
 
- Public Member Functions inherited from pdftron::Layout::ContentNode
 ~ContentNode ()
 
void Destroy ()
 
ContentNodeIterator GetContentNodeIterator ()
 
- Public Member Functions inherited from pdftron::Layout::ContentElement
 ~ContentElement ()
 
void Destroy ()
 
ElementRef< List > AsList () const
 
ElementRef< ListItem > AsListItem () const
 
ElementRef< ContentNode > AsContentNode () const
 
ElementRef< TextRun > AsTextRun () const
 
ElementRef< PageNumber > AsPageNumber () const
 
ElementRef< Shape > AsShape () const
 
ElementRef< Float > AsFloat () const
 
ElementRef< Chart > AsChart () const
 
ElementRef< Paragraph > AsParagraph () const
 
ElementRef< Table > AsTable () const
 
ElementRef< TableRow > AsTableRow () const
 
ElementRef< TableCell > AsTableCell () const
 
TextStyledElement GetTextStyledElement ()
 

Protected Member Functions

 ContentContainer (TRN_ContentContainer impl)
 
- Protected Member Functions inherited from pdftron::Layout::ContentNode
 ContentNode (TRN_ContentNode impl)
 
- Protected Member Functions inherited from pdftron::Layout::ContentElement
 ContentElement (TRN_ContentElement impl)
 

Friends

class FlowDocument
 
class Shape
 
class Section
 
class ElementRef< ContentContainer >
 

Additional Inherited Members

- Public Attributes inherited from pdftron::Layout::ContentElement
TRN_ContentElement m_impl
 

Detailed Description

A content container is a content node that supports insertion of paragraphs, tables and lists.

Definition at line 450 of file ContentTree.h.

Constructor & Destructor Documentation

pdftron::Layout::ContentContainer::ContentContainer ( TRN_ContentContainer  impl)
protected

Member Function Documentation

List pdftron::Layout::ContentContainer::AddList ( )

Adds a list to the document.

Returns
The list object
Paragraph pdftron::Layout::ContentContainer::AddParagraph ( )

Adds a paragraph to the document.

Returns
The paragraph object
Paragraph pdftron::Layout::ContentContainer::AddParagraph ( const UString &  text)

Adds a paragraph to the document and sets the text.

Returns
The paragraph object
Table pdftron::Layout::ContentContainer::AddTable ( )

Adds a table to the document.

Returns
The table object

Friends And Related Function Documentation

friend class ElementRef< ContentContainer >
friend

Definition at line 455 of file ContentTree.h.

friend class FlowDocument
friend

Definition at line 452 of file ContentTree.h.

friend class Section
friend

Definition at line 454 of file ContentTree.h.

friend class Shape
friend

Definition at line 453 of file ContentTree.h.


The documentation for this class was generated from the following file: