Internal: the subdocument of a DocMkrText. More...
Public Member Functions | |
SubDocument (DocMkrText &pars, MWAWInputStreamPtr const &input, int id, libmwaw::SubDocumentType type) | |
constructor for a footer zone | |
SubDocument (DocMkrText &pars, MWAWInputStreamPtr const &input, std::string const &text, libmwaw::SubDocumentType type) | |
constructor for a comment zone | |
~SubDocument () final | |
destructor | |
bool | operator!= (MWAWSubDocument const &doc) const final |
operator!= | |
void | parse (MWAWListenerPtr &listener, libmwaw::SubDocumentType type) final |
the parser function | |
Public Member Functions inherited from MWAWSubDocument | |
MWAWSubDocument (MWAWParser *pars, MWAWInputStreamPtr const &ip, MWAWEntry const &z) | |
constructor from parser, input stream and zone in the input | |
MWAWSubDocument (MWAWSubDocument const &doc)=default | |
copy constructor | |
MWAWSubDocument & | operator= (MWAWSubDocument const &doc)=default |
copy operator | |
virtual | ~MWAWSubDocument () |
virtual destructor | |
bool | operator== (MWAWSubDocument const &doc) const |
comparison operator== | |
bool | operator!= (std::shared_ptr< MWAWSubDocument > const &doc) const |
comparison operator!= | |
bool | operator== (std::shared_ptr< MWAWSubDocument > const &doc) const |
comparison operator== |
Protected Attributes | |
DocMkrText * | m_textParser |
the text parser | |
int | m_id |
the subdocument id | |
std::string | m_text |
the string text | |
libmwaw::SubDocumentType | m_type |
the subdocument type | |
Protected Attributes inherited from MWAWSubDocument | |
MWAWParser * | m_parser |
the main zone parser | |
std::shared_ptr< MWAWInputStream > | m_input |
the input | |
MWAWEntry | m_zone |
if valid the zone to parse |
Private Member Functions | |
SubDocument (SubDocument const &orig)=delete | |
SubDocument & | operator= (SubDocument const &orig)=delete |
Internal: the subdocument of a DocMkrText.
|
inline |
constructor for a footer zone
Referenced by operator!=(), operator=(), and SubDocument().
|
inline |
constructor for a comment zone
|
inlinefinal |
destructor
|
privatedelete |
|
finalvirtual |
operator!=
Reimplemented from MWAWSubDocument.
|
privatedelete |
|
finalvirtual |
the parser function
Implements MWAWSubDocument.
|
protected |
the subdocument id
Referenced by operator!=(), parse(), SubDocument(), and SubDocument().
|
protected |
the string text
Referenced by operator!=(), parse(), SubDocument(), and SubDocument().
|
protected |
the text parser
Referenced by operator!=(), parse(), SubDocument(), and SubDocument().
|
protected |
the subdocument type
Referenced by operator!=(), parse(), SubDocument(), and SubDocument().