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

#include <ContentTree.h>

+ Inheritance diagram for pdftron::Layout::ListItem:

Public Member Functions

 ~ListItem ()
 
Paragraph AddParagraph ()
 
Paragraph AddParagraph (const UString &text)
 
List AddList ()
 
int GetIndentationLevel ()
 
int GetListIdentifier ()
 
int GetItemIndex ()
 
- 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< ListAsList () const
 
ElementRef< ListItemAsListItem () const
 
ElementRef< ContentNodeAsContentNode () const
 
ElementRef< TextRunAsTextRun () const
 
ElementRef< ParagraphAsParagraph () const
 
ElementRef< TableAsTable () const
 
ElementRef< TableRowAsTableRow () const
 
ElementRef< TableCellAsTableCell () const
 
TextStyledElement GetTextStyledElement ()
 

Public Attributes

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

Friends

class List
 
class ElementRef< ListItem >
 

Additional Inherited Members

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

Detailed Description

A class representing an item in a list in the document content tree.

Definition at line 975 of file ContentTree.h.

Constructor & Destructor Documentation

pdftron::Layout::ListItem::~ListItem ( )

Member Function Documentation

List pdftron::Layout::ListItem::AddList ( )

Add a nested list to the list item.

Returns
The List object representing the nested list.
Paragraph pdftron::Layout::ListItem::AddParagraph ( )

Add a new paragraph to the list item.

Returns
The Paragraph object representing the newly added paragraph.
Paragraph pdftron::Layout::ListItem::AddParagraph ( const UString text)

Add a new paragraph with the specified text to the list item.

Parameters
textThe text content of the paragraph.
Returns
The Paragraph object representing the newly added paragraph.
int pdftron::Layout::ListItem::GetIndentationLevel ( )

Get the indentation level of the list item.

Returns
The indentation level.
int pdftron::Layout::ListItem::GetItemIndex ( )

Get the index of the list item within the parent list.

Returns
The index of the list item.
int pdftron::Layout::ListItem::GetListIdentifier ( )

Get the identifier of the list.

Returns
The list identifier.

Friends And Related Function Documentation

friend class ElementRef< ListItem >
friend

Definition at line 978 of file ContentTree.h.

friend class List
friend

Definition at line 977 of file ContentTree.h.

Member Data Documentation

TRN_ListItem pdftron::Layout::ListItem::m_impl

Definition at line 1031 of file ContentTree.h.


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