Internal: the subdocument of a MSK3Parser. More...
Public Types | |
| enum | Type { Zone, Text } |
Public Member Functions | |
| SubDocument (MSK3Parser &pars, MWAWInputStreamPtr input, Type type, int zoneId, int noteId=-1) | |
| virtual | ~SubDocument () |
| destructor | |
| virtual bool | operator!= (MWAWSubDocument const &doc) const |
| operator!= | |
| virtual bool | operator== (MWAWSubDocument const &doc) const |
| operator!== | |
| int | getId () const |
| returns the subdocument id | |
| void | setId (int vid) |
| sets the subdocument id | |
| void | parse (MWAWContentListenerPtr &listener, libmwaw::SubDocumentType type) |
| the parser function | |
Protected Attributes | |
| Type | m_type |
| the type | |
| int | m_id |
| the subdocument id | |
| int | m_noteId |
| the note id | |
Internal: the subdocument of a MSK3Parser.
| MSK3ParserInternal::SubDocument::SubDocument | ( | MSK3Parser & | pars, |
| MWAWInputStreamPtr | input, | ||
| Type | type, | ||
| int | zoneId, | ||
| int | noteId = -1 |
||
| ) | [inline] |
| virtual MSK3ParserInternal::SubDocument::~SubDocument | ( | ) | [inline, virtual] |
destructor
| int MSK3ParserInternal::SubDocument::getId | ( | ) | const [inline] |
returns the subdocument id
| bool MSK3ParserInternal::SubDocument::operator!= | ( | MWAWSubDocument const & | doc | ) | const [virtual] |
| virtual bool MSK3ParserInternal::SubDocument::operator== | ( | MWAWSubDocument const & | doc | ) | const [inline, virtual] |
operator!==
Reimplemented from MWAWSubDocument.
| void MSK3ParserInternal::SubDocument::parse | ( | MWAWContentListenerPtr & | listener, |
| libmwaw::SubDocumentType | type | ||
| ) | [virtual] |
the parser function
Implements MWAWSubDocument.
| void MSK3ParserInternal::SubDocument::setId | ( | int | vid | ) | [inline] |
sets the subdocument id
int MSK3ParserInternal::SubDocument::m_id [protected] |
the subdocument id
Referenced by getId(), operator!=(), parse(), and setId().
int MSK3ParserInternal::SubDocument::m_noteId [protected] |
the note id
Referenced by operator!=(), and parse().
Type MSK3ParserInternal::SubDocument::m_type [protected] |
the type
Referenced by operator!=(), and parse().