Classes | |
| class | SaveAttribute |
Public Member Functions | |
| TDTextParser (librevenge::RVNGTextInterface *document) | |
| void | parse (librevenge::RVNGInputStream *input, bool last=false) |
Private Types | |
| typedef deque< std::pair < string, string > > | Attributes_t |
| typedef boost::unordered_map < string, Token > | TokenMap_t |
Private Member Functions | |
| TDTextParser (const TDTextParser &other) | |
| TDTextParser | operator= (const TDTextParser &other) |
| bool | parseTag (librevenge::RVNGInputStream *input) |
| bool | parseHeaderTag (const Attributes_t &attributeList) |
| void | parseAttribute (const string &name, const string &rawValue, TDAttributes &attributes) |
| void | openParagraph (const TDAttributes &attributes=TDAttributes()) |
| void | closeParagraph () |
| void | finishParagraph () |
| void | flushText (const TDAttributes &attributes=TDAttributes()) |
Private Attributes | |
| librevenge::RVNGTextInterface *const | m_document |
| string | m_text |
| bool | m_openedParagraph |
typedef deque<std::pair<string, string> > libebook::TDTextParser::Attributes_t [private] |
typedef boost::unordered_map<string, Token> libebook::TDTextParser::TokenMap_t [private] |
| libebook::TDTextParser::TDTextParser | ( | const TDTextParser & | other | ) | [private] |
| libebook::TDTextParser::TDTextParser | ( | librevenge::RVNGTextInterface * | document | ) | [explicit] |
| void libebook::TDTextParser::closeParagraph | ( | ) | [private] |
Referenced by finishParagraph(), and parseHeaderTag().
| void libebook::TDTextParser::finishParagraph | ( | ) | [private] |
Referenced by parse(), and parseTag().
| void libebook::TDTextParser::flushText | ( | const TDAttributes & | attributes = TDAttributes() | ) | [private] |
Referenced by finishParagraph(), and parseHeaderTag().
| void libebook::TDTextParser::openParagraph | ( | const TDAttributes & | attributes = TDAttributes() | ) | [private] |
Referenced by flushText(), and parseHeaderTag().
| TDTextParser libebook::TDTextParser::operator= | ( | const TDTextParser & | other | ) | [private] |
| void libebook::TDTextParser::parse | ( | librevenge::RVNGInputStream * | input, |
| bool | last = false |
||
| ) |
Referenced by parseTag(), and libebook::TDParser::readDataRecord().
| void libebook::TDTextParser::parseAttribute | ( | const string & | name, |
| const string & | rawValue, | ||
| TDAttributes & | attributes | ||
| ) | [private] |
Referenced by parseHeaderTag().
| bool libebook::TDTextParser::parseHeaderTag | ( | const Attributes_t & | attributeList | ) | [private] |
Referenced by parseTag().
| bool libebook::TDTextParser::parseTag | ( | librevenge::RVNGInputStream * | input | ) | [private] |
Referenced by parse().
librevenge::RVNGTextInterface* const libebook::TDTextParser::m_document [private] |
Referenced by closeParagraph(), flushText(), and openParagraph().
bool libebook::TDTextParser::m_openedParagraph [private] |
Referenced by closeParagraph(), flushText(), and openParagraph().
string libebook::TDTextParser::m_text [private] |
Referenced by flushText(), parse(), and parseAttribute().