#include <IWORKText.h>
Public Member Functions | |
| IWORKText (bool discardEmptyContent) | |
| void | pushLayoutStyle (const IWORKStylePtr_t &style) |
| void | pushParagraphStyle (const IWORKStylePtr_t &style) |
| void | openLayout (const IWORKStylePtr_t &style=IWORKStylePtr_t()) |
| void | closeLayout () |
| void | openParagraph (const IWORKStylePtr_t &style=IWORKStylePtr_t()) |
| void | closeParagraph () |
| void | openSpan (const IWORKStylePtr_t &style=IWORKStylePtr_t()) |
| void | closeSpan () |
| void | openLink (const std::string &url) |
| void | closeLink () |
| void | insertText (const std::string &text) |
| void | insertTab () |
| void | insertLineBreak () |
| void | insertInlineContent (const IWORKOutputElements &elements) |
| void | insertBlockContent (const IWORKOutputElements &elements) |
| bool | empty () const |
| void | draw (IWORKOutputElements &elements) |
Private Member Functions | |
| void | doOpenPara () |
| void | doClosePara () |
| void | doOpenSpan () |
| void | doCloseSpan () |
| void | flushSpan () |
Private Attributes | |
| IWORKStyleStack | m_layoutStyleStack |
| IWORKStyleStack | m_paraStyleStack |
| IWORKOutputElements | m_elements |
| bool | m_sectionOpened |
| IWORKStylePtr_t | m_currentParaStyle |
| bool | m_paraOpened |
| bool | m_ignoreEmptyPara |
| IWORKStylePtr_t | m_currentSpanStyle |
| bool | m_spanOpened |
| bool | m_pendingSpanClose |
| bool | m_inSpan |
|
explicit |
| void libetonyek::IWORKText::closeLayout | ( | ) |
| void libetonyek::IWORKText::closeLink | ( | ) |
| void libetonyek::IWORKText::closeParagraph | ( | ) |
| void libetonyek::IWORKText::closeSpan | ( | ) |
|
private |
Referenced by closeParagraph(), and insertBlockContent().
|
private |
Referenced by closeLink(), doClosePara(), flushSpan(), and openLink().
|
private |
Referenced by closeParagraph(), doOpenSpan(), and openLink().
|
private |
Referenced by flushSpan().
| void libetonyek::IWORKText::draw | ( | IWORKOutputElements & | elements | ) |
| bool libetonyek::IWORKText::empty | ( | ) | const |
|
private |
Referenced by insertInlineContent(), insertLineBreak(), insertTab(), and insertText().
| void libetonyek::IWORKText::insertBlockContent | ( | const IWORKOutputElements & | elements | ) |
| void libetonyek::IWORKText::insertInlineContent | ( | const IWORKOutputElements & | elements | ) |
| void libetonyek::IWORKText::insertLineBreak | ( | ) |
| void libetonyek::IWORKText::insertTab | ( | ) |
| void libetonyek::IWORKText::insertText | ( | const std::string & | text | ) |
| void libetonyek::IWORKText::openLayout | ( | const IWORKStylePtr_t & | style = IWORKStylePtr_t() | ) |
| void libetonyek::IWORKText::openLink | ( | const std::string & | url | ) |
| void libetonyek::IWORKText::openParagraph | ( | const IWORKStylePtr_t & | style = IWORKStylePtr_t() | ) |
| void libetonyek::IWORKText::openSpan | ( | const IWORKStylePtr_t & | style = IWORKStylePtr_t() | ) |
| void libetonyek::IWORKText::pushLayoutStyle | ( | const IWORKStylePtr_t & | style | ) |
| void libetonyek::IWORKText::pushParagraphStyle | ( | const IWORKStylePtr_t & | style | ) |
|
private |
Referenced by doOpenPara(), and openParagraph().
|
private |
Referenced by closeSpan(), doOpenSpan(), and openSpan().
|
private |
|
private |
Referenced by closeParagraph(), and insertBlockContent().
|
private |
Referenced by doCloseSpan(), insertInlineContent(), insertLineBreak(), insertTab(), insertText(), and openSpan().
|
private |
Referenced by closeLayout(), openLayout(), and pushLayoutStyle().
|
private |
Referenced by closeLayout(), closeParagraph(), doClosePara(), doCloseSpan(), doOpenPara(), doOpenSpan(), insertBlockContent(), openLayout(), openLink(), and openParagraph().
|
private |
Referenced by doClosePara(), doOpenPara(), doOpenSpan(), and pushParagraphStyle().
|
private |
Referenced by closeSpan(), doCloseSpan(), doOpenSpan(), flushSpan(), and openSpan().
|
private |
Referenced by closeLayout(), and openLayout().
|
private |
Referenced by closeLink(), doClosePara(), doCloseSpan(), doOpenSpan(), flushSpan(), and openLink().