SDGParser Class Reference

the main class to read a StarOffice sdg file More...

#include <SDGParser.hxx>

Inheritance diagram for SDGParser:
STOFFGraphicParser STOFFParser

List of all members.

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)
SDGParseroperator= (SDGParser const &orig)

Detailed Description

the main class to read a StarOffice sdg file


Constructor & Destructor Documentation

constructor

SDGParser::~SDGParser ( ) [virtual]

destructor

SDGParser::SDGParser ( SDGParser const &  orig) [private]

Member Function Documentation

bool SDGParser::checkHeader ( STOFFHeader header,
bool  strict = false 
) [virtual]

checks if the document header is correct (or not)

Implements STOFFParser.

Referenced by parse().

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().

SDGParser& SDGParser::operator= ( SDGParser const &  orig) [private]
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().


Member Data Documentation

char const* SDGParser::m_password [protected]

the password

Referenced by createZones(), and setDocumentPassword().


The documentation for this class was generated from the following files: