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 More... | |
SubDocument (HMWJText &pars, MWAWInputStreamPtr input, std::string const &text) | |
constructor to send a string More... | |
virtual | ~SubDocument () |
destructor More... | |
virtual bool | operator!= (MWAWSubDocument const &doc) const |
operator!= More... | |
virtual bool | operator== (MWAWSubDocument const &doc) const |
operator!== More... | |
void | parse (MWAWContentListenerPtr &listener, libmwaw::SubDocumentType type) |
the parser function More... | |
![]() | |
MWAWSubDocument (MWAWParser *pars, MWAWInputStreamPtr ip, MWAWEntry const &z) | |
constructor from parser, input stream and zone in the input More... | |
MWAWSubDocument (MWAWSubDocument const &doc) | |
copy constructor More... | |
MWAWSubDocument & | operator= (MWAWSubDocument const &doc) |
copy operator More... | |
virtual | ~MWAWSubDocument () |
virtual destructor More... | |
bool | operator== (MWAWSubDocument const &doc) const |
comparison operator== More... | |
bool | operator!= (shared_ptr< MWAWSubDocument > const &doc) const |
comparison operator!= More... | |
bool | operator== (shared_ptr< MWAWSubDocument > const &doc) const |
comparison operator== More... | |
virtual void | parseGraphic (MWAWGraphicListenerPtr &listener, libmwaw::SubDocumentType subDocumentType) |
virtual parse function More... | |
Protected Types | |
enum | Type { S_TextZone, S_String } |
the subdocument type More... | |
Protected Attributes | |
Type | m_type |
the subdocument type More... | |
HMWJText * | m_textParser |
the text parser More... | |
long | m_id |
the subdocument id More... | |
long | m_cPos |
the first charecter position More... | |
std::string | m_bookmark |
the bookmark string More... | |
![]() | |
MWAWParser * | m_parser |
the main zone parser More... | |
shared_ptr< MWAWInputStream > | m_input |
the input More... | |
MWAWEntry | m_zone |
if valid the zone to parse More... | |
Private Member Functions | |
SubDocument (SubDocument const &orig) | |
SubDocument & | operator= (SubDocument const &orig) |
Internal: the subdocument of a HMWJText.
|
protected |
|
inline |
constructor to call a textzone
|
inline |
constructor to send a string
|
inlinevirtual |
destructor
|
private |
|
virtual |
|
private |
|
inlinevirtual |
operator!==
|
virtual |
the parser function
Implements MWAWSubDocument.
|
protected |
the bookmark string
Referenced by operator!=(), and parse().
|
protected |
the first charecter position
Referenced by operator!=(), and parse().
|
protected |
the subdocument id
Referenced by operator!=(), and parse().
|
protected |
the text parser
Referenced by operator!=(), and parse().
|
protected |
the subdocument type
Referenced by operator!=(), and parse().