the main class to read a StarOffice sdX file More...
#include <SDXParser.hxx>
Public Member Functions | |
| SDXParser (STOFFInputStreamPtr input, STOFFHeader *header) | |
| constructor | |
| virtual | ~SDXParser () |
| 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 | init () |
| inits all internal variables | |
| 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 < SDXParserInternal::State > | m_state |
| the state | |
Private Member Functions | |
| SDXParser (SDXParser const &orig) | |
| SDXParser & | operator= (SDXParser const &orig) |
the main class to read a StarOffice sdX file
| SDXParser::SDXParser | ( | STOFFInputStreamPtr | input, |
| STOFFHeader * | header | ||
| ) |
constructor
| SDXParser::~SDXParser | ( | ) | [virtual] |
destructor
| SDXParser::SDXParser | ( | SDXParser const & | orig | ) | [private] |
| bool SDXParser::checkHeader | ( | STOFFHeader * | header, |
| bool | strict = false |
||
| ) | [virtual] |
| void SDXParser::createDocument | ( | librevenge::RVNGTextInterface * | documentInterface | ) | [protected] |
creates the listener which will be associated to the document
Referenced by parse().
| bool SDXParser::createZones | ( | ) | [protected] |
parses the different OLE, ...
Referenced by parse().
| void SDXParser::init | ( | ) | [protected] |
inits all internal variables
Referenced by SDXParser().
| void SDXParser::parse | ( | librevenge::RVNGTextInterface * | documentInterface | ) | [virtual] |
virtual function used to parse the input
Implements STOFFTextParser.
| void SDXParser::setDocumentPassword | ( | char const * | passwd | ) | [inline] |
set the document password
Referenced by STOFFDocumentInternal::getTextParserFromHeader().
shared_ptr<STOFFOLEParser> SDXParser::m_oleParser [protected] |
the ole parser
Referenced by createZones().
char const* SDXParser::m_password [protected] |
the password
Referenced by createZones(), and setDocumentPassword().
shared_ptr<SDXParserInternal::State> SDXParser::m_state [protected] |
the state
Referenced by checkHeader(), and init().