Internal: the subdocument of a WPS8. More...
Public Types | |
| enum | Type { Unknown, Footnote, Endnote } |
| type of an entry stored in textId More... | |
Public Member Functions | |
| SubDocument (WPXInputStreamPtr input, WPS8Parser &pars, Type type, int i) | |
| constructor for a text entry | |
| ~SubDocument () | |
| destructor | |
| virtual bool | operator== (WPSSubDocumentPtr const &doc) const |
| operator== | |
| void | parse (WPSContentListenerPtr &listener, libwps::SubDocumentType type) |
| the parser function | |
Public Member Functions inherited from WPSSubDocument | |
| WPSSubDocument (WPXInputStreamPtr &input, WPSParser *parser, int id=0) | |
| constructor | |
| virtual | ~WPSSubDocument () |
| destructor | |
| WPXInputStreamPtr & | getInput () |
| returns the input | |
| WPSParser * | parser () const |
| returns the parser | |
| int | id () const |
| get the identificator | |
| void | setId (int i) |
| set the identificator | |
| bool | operator!= (shared_ptr< WPSSubDocument > const &doc) const |
| virtual void | parse (shared_ptr< WPSContentListener > &listener, libwps::SubDocumentType subDocumentType)=0 |
| virtual parse function | |
Public Attributes | |
| Type | m_type |
Additional Inherited Members | |
Protected Attributes inherited from WPSSubDocument | |
| WPXInputStreamPtr | m_input |
| WPSParser * | m_parser |
| int | m_id |
Internal: the subdocument of a WPS8.
|
inline |
constructor for a text entry
|
inline |
destructor
|
inlinevirtual |
operator==
Reimplemented from WPSSubDocument.
| void WPS8ParserInternal::SubDocument::parse | ( | WPSContentListenerPtr & | listener, |
| libwps::SubDocumentType | type | ||
| ) |
the parser function
| Type WPS8ParserInternal::SubDocument::m_type |
Referenced by operator==(), and parse().