Internal: the subdocument of a HMWJText. More...
Public Member Functions | |
SubDocument (HMWJText &pars, MWAWInputStreamPtr input, long id, long cPos=0) | |
constructor to call a textzone | |
SubDocument (HMWJText &pars, MWAWInputStreamPtr input, std::string const &text) | |
constructor to send a string | |
virtual | ~SubDocument () |
destructor | |
virtual bool | operator!= (MWAWSubDocument const &doc) const |
operator!= | |
virtual bool | operator== (MWAWSubDocument const &doc) const |
operator!== | |
void | parse (MWAWContentListenerPtr &listener, libmwaw::SubDocumentType type) |
the parser function | |
Protected Types | |
enum | Type { S_TextZone, S_String } |
the subdocument type More... | |
Protected Attributes | |
Type | m_type |
the subdocument type | |
HMWJText * | m_textParser |
the text parser | |
long | m_id |
the subdocument id | |
long | m_cPos |
the first charecter position | |
std::string | m_bookmark |
the bookmark string | |
Private Member Functions | |
SubDocument (SubDocument const &orig) | |
SubDocument & | operator= (SubDocument const &orig) |
Internal: the subdocument of a HMWJText.
enum HMWJTextInternal::SubDocument::Type [protected] |
HMWJTextInternal::SubDocument::SubDocument | ( | HMWJText & | pars, |
MWAWInputStreamPtr | input, | ||
long | id, | ||
long | cPos = 0 |
||
) | [inline] |
constructor to call a textzone
HMWJTextInternal::SubDocument::SubDocument | ( | HMWJText & | pars, |
MWAWInputStreamPtr | input, | ||
std::string const & | text | ||
) | [inline] |
constructor to send a string
virtual HMWJTextInternal::SubDocument::~SubDocument | ( | ) | [inline, virtual] |
destructor
HMWJTextInternal::SubDocument::SubDocument | ( | SubDocument const & | orig | ) | [private] |
bool HMWJTextInternal::SubDocument::operator!= | ( | MWAWSubDocument const & | doc | ) | const [virtual] |
SubDocument& HMWJTextInternal::SubDocument::operator= | ( | SubDocument const & | orig | ) | [private] |
virtual bool HMWJTextInternal::SubDocument::operator== | ( | MWAWSubDocument const & | doc | ) | const [inline, virtual] |
operator!==
Reimplemented from MWAWSubDocument.
void HMWJTextInternal::SubDocument::parse | ( | MWAWContentListenerPtr & | listener, |
libmwaw::SubDocumentType | type | ||
) | [virtual] |
the parser function
Implements MWAWSubDocument.
std::string HMWJTextInternal::SubDocument::m_bookmark [protected] |
the bookmark string
Referenced by operator!=(), and parse().
long HMWJTextInternal::SubDocument::m_cPos [protected] |
the first charecter position
Referenced by operator!=(), and parse().
long HMWJTextInternal::SubDocument::m_id [protected] |
the subdocument id
Referenced by operator!=(), and parse().
HMWJText* HMWJTextInternal::SubDocument::m_textParser [protected] |
the text parser
Referenced by operator!=(), and parse().
Type HMWJTextInternal::SubDocument::m_type [protected] |
the subdocument type
Referenced by operator!=(), and parse().