Basic class used to store a sub document. More...
#include <WPSTextSubDocument.h>
Public Member Functions | |
WPSTextSubDocument (RVNGInputStreamPtr &input, WPSParser *parser, int id=0) | |
constructor More... | |
virtual | ~WPSTextSubDocument () |
destructor More... | |
RVNGInputStreamPtr & | getInput () |
returns the input More... | |
WPSParser * | parser () const |
returns the parser More... | |
virtual bool | operator== (shared_ptr< WPSTextSubDocument > const &doc) const |
an operator = More... | |
virtual void | parse (shared_ptr< WPSContentListener > &listener, libwps::SubDocumentType subDocumentType)=0 |
virtual parse function More... | |
![]() | |
WPSSubDocument (RVNGInputStreamPtr &input, int id=0) | |
constructor More... | |
virtual | ~WPSSubDocument () |
destructor More... | |
RVNGInputStreamPtr & | getInput () |
returns the input More... | |
int | id () const |
get the identificator More... | |
void | setId (int i) |
set the identificator More... | |
virtual bool | operator== (shared_ptr< WPSSubDocument > const &doc) const |
an operator = More... | |
bool | operator!= (shared_ptr< WPSSubDocument > const &doc) const |
Protected Attributes | |
WPSParser * | m_parser |
![]() | |
RVNGInputStreamPtr | m_input |
int | m_id |
Private Member Functions | |
WPSTextSubDocument (const WPSTextSubDocument &) | |
WPSTextSubDocument & | operator= (const WPSTextSubDocument &) |
Basic class used to store a sub document.
WPSTextSubDocument::WPSTextSubDocument | ( | RVNGInputStreamPtr & | input, |
WPSParser * | parser, | ||
int | id = 0 |
||
) |
constructor
|
virtual |
destructor
|
private |
|
inline |
returns the input
|
private |
|
virtual |
an operator =
Reimplemented in WPS8ParserInternal::SubDocument, and WPS4ParserInternal::SubDocument.
|
pure virtual |
virtual parse function
this function is called to parse the subdocument
Implemented in WPS8TextInternal::SubDocument, WPS8ParserInternal::SubDocument, and WPS4ParserInternal::SubDocument.
Referenced by WPSContentListener::handleSubDocument().
|
inline |
returns the parser
|
protected |
Referenced by operator==(), WPS4ParserInternal::SubDocument::parse(), WPS8ParserInternal::SubDocument::parse(), and parser().