#include <KEYText.h>
Classes | |
struct | Paragraph |
Public Types | |
typedef std::deque < ParagraphPtr_t > | ParagraphList_t |
Public Member Functions | |
KEYText () | |
void | setLayoutStyle (const KEYLayoutStylePtr_t &style) |
const KEYGeometryPtr_t & | getBoundingBox () const |
void | setBoundingBox (const KEYGeometryPtr_t &boundingBox) |
void | openParagraph (const KEYParagraphStylePtr_t &style) |
void | closeParagraph () |
void | insertText (const std::string &text, const KEYCharacterStylePtr_t &style) |
void | insertTab () |
void | insertLineBreak () |
const KEYLayoutStylePtr_t & | getLayoutStyle () const |
const ParagraphList_t & | getParagraphs () const |
bool | empty () const |
Private Types | |
typedef boost::shared_ptr < Paragraph > | ParagraphPtr_t |
Private Member Functions | |
void | insertDeferredLineBreaks () |
Private Attributes | |
KEYLayoutStylePtr_t | m_layoutStyle |
ParagraphList_t | m_paragraphs |
ParagraphPtr_t | m_currentParagraph |
int | m_lineBreaks |
KEYGeometryPtr_t | m_boundingBox |
typedef std::deque<ParagraphPtr_t> libetonyek::KEYText::ParagraphList_t |
|
private |
libetonyek::KEYText::KEYText | ( | ) |
void libetonyek::KEYText::closeParagraph | ( | ) |
bool libetonyek::KEYText::empty | ( | ) | const |
const KEYGeometryPtr_t & libetonyek::KEYText::getBoundingBox | ( | ) | const |
const KEYLayoutStylePtr_t & libetonyek::KEYText::getLayoutStyle | ( | ) | const |
const KEYText::ParagraphList_t & libetonyek::KEYText::getParagraphs | ( | ) | const |
|
private |
void libetonyek::KEYText::insertLineBreak | ( | ) |
void libetonyek::KEYText::insertTab | ( | ) |
void libetonyek::KEYText::insertText | ( | const std::string & | text, |
const KEYCharacterStylePtr_t & | style | ||
) |
void libetonyek::KEYText::openParagraph | ( | const KEYParagraphStylePtr_t & | style | ) |
void libetonyek::KEYText::setBoundingBox | ( | const KEYGeometryPtr_t & | boundingBox | ) |
void libetonyek::KEYText::setLayoutStyle | ( | const KEYLayoutStylePtr_t & | style | ) |
|
private |
Referenced by getBoundingBox(), and setBoundingBox().
|
private |
Referenced by closeParagraph(), insertDeferredLineBreaks(), insertLineBreak(), insertTab(), insertText(), and openParagraph().
|
private |
Referenced by getLayoutStyle(), and setLayoutStyle().
|
private |
Referenced by insertDeferredLineBreaks(), and insertLineBreak().
|
private |
Referenced by closeParagraph(), empty(), and getParagraphs().