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