Loading...
Searching...
No Matches
pdftron::Layout::TextRun Class Reference

#include <ContentTree.h>

Inheritance diagram for pdftron::Layout::TextRun:

Public Member Functions

 ~TextRun ()
void Destroy ()
void SetText (const UString &text)
UString GetText ()
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 ()

Friends

class Paragraph
class ElementRef< TextRun >

Additional Inherited Members

Public Attributes inherited from pdftron::Layout::ContentElement
TRN_ContentElement m_impl
Protected Member Functions inherited from pdftron::Layout::ContentElement
 ContentElement (TRN_ContentElement impl)

Detailed Description

A TextRun is a content element that represents a single run of text. A paragraph can contain multiple TextRun objects.

Definition at line 301 of file ContentTree.h.

Constructor & Destructor Documentation

◆ ~TextRun()

pdftron::Layout::TextRun::~TextRun ( )

Member Function Documentation

◆ Destroy()

void pdftron::Layout::TextRun::Destroy ( )

◆ GetText()

UString pdftron::Layout::TextRun::GetText ( )

Get the text content of the TextRun object

Returns
The text content

◆ SetText()

void pdftron::Layout::TextRun::SetText ( const UString & text)

Set the text content of the TextRun object

Parameters
textThe text content to set

◆ ElementRef< TextRun >

friend class ElementRef< TextRun >
friend

Definition at line 303 of file ContentTree.h.

◆ Paragraph

friend class Paragraph
friend

Definition at line 303 of file ContentTree.h.


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