Internal: the subdocument of a HanMacWrdJText. More...
Public Member Functions | |
| SubDocument (HanMacWrdJText &pars, MWAWInputStreamPtr input, long id, long cPos=0) | |
| constructor to call a textzone | |
| SubDocument (HanMacWrdJText &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 (MWAWListenerPtr &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 | |
| HanMacWrdJText * | 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 HanMacWrdJText.
enum HanMacWrdJTextInternal::SubDocument::Type [protected] |
| HanMacWrdJTextInternal::SubDocument::SubDocument | ( | HanMacWrdJText & | pars, |
| MWAWInputStreamPtr | input, | ||
| long | id, | ||
| long | cPos = 0 |
||
| ) | [inline] |
constructor to call a textzone
| HanMacWrdJTextInternal::SubDocument::SubDocument | ( | HanMacWrdJText & | pars, |
| MWAWInputStreamPtr | input, | ||
| std::string const & | text | ||
| ) | [inline] |
constructor to send a string
| virtual HanMacWrdJTextInternal::SubDocument::~SubDocument | ( | ) | [inline, virtual] |
destructor
| HanMacWrdJTextInternal::SubDocument::SubDocument | ( | SubDocument const & | orig | ) | [private] |
| bool HanMacWrdJTextInternal::SubDocument::operator!= | ( | MWAWSubDocument const & | doc | ) | const [virtual] |
| SubDocument& HanMacWrdJTextInternal::SubDocument::operator= | ( | SubDocument const & | orig | ) | [private] |
| virtual bool HanMacWrdJTextInternal::SubDocument::operator== | ( | MWAWSubDocument const & | doc | ) | const [inline, virtual] |
operator!==
Reimplemented from MWAWSubDocument.
| void HanMacWrdJTextInternal::SubDocument::parse | ( | MWAWListenerPtr & | listener, |
| libmwaw::SubDocumentType | type | ||
| ) | [virtual] |
the parser function
Implements MWAWSubDocument.
std::string HanMacWrdJTextInternal::SubDocument::m_bookmark [protected] |
the bookmark string
Referenced by operator!=(), and parse().
long HanMacWrdJTextInternal::SubDocument::m_cPos [protected] |
the first charecter position
Referenced by operator!=(), and parse().
long HanMacWrdJTextInternal::SubDocument::m_id [protected] |
the subdocument id
Referenced by operator!=(), and parse().
the text parser
Referenced by operator!=(), and parse().
Type HanMacWrdJTextInternal::SubDocument::m_type [protected] |
the subdocument type
Referenced by operator!=(), and parse().