Internal: the subdocument of a HanMacWrdJText. More...
Public Member Functions | |
SubDocument (HanMacWrdJText &pars, MWAWInputStreamPtr const &input, long id, long cPos=0) | |
constructor to call a textzone More... | |
SubDocument (HanMacWrdJText &pars, MWAWInputStreamPtr const &input, std::string const &text) | |
constructor to send a string More... | |
~SubDocument () final | |
destructor More... | |
bool | operator!= (MWAWSubDocument const &doc) const final |
operator!= More... | |
void | parse (MWAWListenerPtr &listener, libmwaw::SubDocumentType type) final |
the parser function More... | |
![]() | |
MWAWSubDocument (MWAWParser *pars, MWAWInputStreamPtr const &ip, MWAWEntry const &z) | |
constructor from parser, input stream and zone in the input More... | |
MWAWSubDocument (MWAWSubDocument const &doc)=default | |
copy constructor More... | |
MWAWSubDocument & | operator= (MWAWSubDocument const &doc)=default |
copy operator More... | |
virtual | ~MWAWSubDocument () |
virtual destructor More... | |
bool | operator== (MWAWSubDocument const &doc) const |
comparison operator== More... | |
bool | operator!= (std::shared_ptr< MWAWSubDocument > const &doc) const |
comparison operator!= More... | |
bool | operator== (std::shared_ptr< MWAWSubDocument > const &doc) const |
comparison operator== More... | |
Protected Types | |
enum | Type { S_TextZone, S_String } |
the subdocument type More... | |
Protected Attributes | |
Type | m_type |
the subdocument type More... | |
HanMacWrdJText * | 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... | |
std::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)=delete | |
SubDocument & | operator= (SubDocument const &orig)=delete |
Internal: the subdocument of a HanMacWrdJText.
|
protected |
|
inline |
constructor to call a textzone
|
inline |
constructor to send a string
|
inlinefinal |
destructor
|
privatedelete |
|
finalvirtual |
operator!=
Reimplemented from MWAWSubDocument.
|
privatedelete |
|
finalvirtual |
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().