the main class to read a StarOffice sdw file More...
#include <SDWParser.hxx>
Public Member Functions | |
| SDWParser (STOFFInputStreamPtr input, STOFFHeader *header) | |
| constructor | |
| virtual | ~SDWParser () |
| destructor | |
| void | setDocumentPassword (char const *passwd) |
| set the document password | |
| bool | checkHeader (STOFFHeader *header, bool strict=false) |
| checks if the document header is correct (or not) | |
| void | parse (librevenge::RVNGTextInterface *documentInterface) |
| virtual function used to parse the input | |
Protected Member Functions | |
| void | createDocument (librevenge::RVNGTextInterface *documentInterface) |
| creates the listener which will be associated to the document | |
| bool | createZones () |
| parses the different OLE, ... | |
Protected Attributes | |
| char const * | m_password |
| the password | |
| shared_ptr< STOFFOLEParser > | m_oleParser |
| the ole parser | |
| shared_ptr < SDWParserInternal::State > | m_state |
| the state | |
Private Member Functions | |
| SDWParser (SDWParser const &orig) | |
| SDWParser & | operator= (SDWParser const &orig) |
the main class to read a StarOffice sdw file
| SDWParser::SDWParser | ( | STOFFInputStreamPtr | input, |
| STOFFHeader * | header | ||
| ) |
constructor
| SDWParser::~SDWParser | ( | ) | [virtual] |
destructor
| SDWParser::SDWParser | ( | SDWParser const & | orig | ) | [private] |
| bool SDWParser::checkHeader | ( | STOFFHeader * | header, |
| bool | strict = false |
||
| ) | [virtual] |
| void SDWParser::createDocument | ( | librevenge::RVNGTextInterface * | documentInterface | ) | [protected] |
creates the listener which will be associated to the document
Referenced by parse().
| bool SDWParser::createZones | ( | ) | [protected] |
parses the different OLE, ...
Referenced by parse().
| void SDWParser::parse | ( | librevenge::RVNGTextInterface * | documentInterface | ) | [virtual] |
virtual function used to parse the input
Implements STOFFTextParser.
| void SDWParser::setDocumentPassword | ( | char const * | passwd | ) | [inline] |
set the document password
Referenced by STOFFDocumentInternal::getTextParserFromHeader().
shared_ptr<STOFFOLEParser> SDWParser::m_oleParser [protected] |
the ole parser
Referenced by createZones(), and parse().
char const* SDWParser::m_password [protected] |
the password
Referenced by createZones(), parse(), and setDocumentPassword().
shared_ptr<SDWParserInternal::State> SDWParser::m_state [protected] |
the state
Referenced by checkHeader(), createDocument(), createZones(), and parse().