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