Changeset View
Changeset View
Standalone View
Standalone View
filters/outputhelper/StringDocumentHandler.hxx
Show All 29 Lines | |||||
30 | public: | 30 | public: | ||
31 | StringDocumentHandler(); | 31 | StringDocumentHandler(); | ||
32 | 32 | | |||
33 | char const *cstr() const | 33 | char const *cstr() const | ||
34 | { | 34 | { | ||
35 | return m_data.cstr(); | 35 | return m_data.cstr(); | ||
36 | } | 36 | } | ||
37 | 37 | | |||
38 | virtual void startDocument() {} | 38 | void startDocument() override {} | ||
39 | virtual void endDocument(); | 39 | void endDocument() override; | ||
40 | virtual void startElement(const char *psName, const librevenge::RVNGPropertyList &xPropList); | 40 | void startElement(const char *psName, const librevenge::RVNGPropertyList &xPropList) override; | ||
41 | virtual void endElement(const char *psName); | 41 | void endElement(const char *psName) override; | ||
42 | virtual void characters(const librevenge::RVNGString &sCharacters); | 42 | void characters(const librevenge::RVNGString &sCharacters) override; | ||
43 | private: | 43 | private: | ||
44 | private: | 44 | private: | ||
45 | librevenge::RVNGString m_data; | 45 | librevenge::RVNGString m_data; | ||
46 | bool m_isTagOpened; | 46 | bool m_isTagOpened; | ||
47 | librevenge::RVNGString m_openedTagName; | 47 | librevenge::RVNGString m_openedTagName; | ||
48 | }; | 48 | }; | ||
49 | #endif | 49 | #endif | ||
50 | 50 | | |||
51 | /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */ | 51 | /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */ |