SDAParser Class Reference

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

#include <SDAParser.hxx>

Inheritance diagram for SDAParser:
STOFFGraphicParser STOFFParser

List of all members.

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< STOFFOLEParserm_oleParser
 the ole parser
shared_ptr
< SDAParserInternal::State
m_state
 the state

Private Member Functions

 SDAParser (SDAParser const &orig)
SDAParseroperator= (SDAParser const &orig)

Detailed Description

the main class to read a StarOffice sda file


Constructor & Destructor Documentation

constructor

SDAParser::~SDAParser ( ) [virtual]

destructor

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

Member Function Documentation

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

checks if the document header is correct (or not)

Implements STOFFParser.

Referenced by parse().

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

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


Member Data Documentation

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

the state

Referenced by checkHeader(), createDocument(), createZones(), and parse().


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