SDXParser Class Reference

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

#include <SDXParser.hxx>

Inheritance diagram for SDXParser:
STOFFTextParser STOFFParser

List of all members.

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

Private Member Functions

 SDXParser (SDXParser const &orig)
SDXParseroperator= (SDXParser const &orig)

Detailed Description

the main class to read a StarOffice sdX file


Constructor & Destructor Documentation

constructor

SDXParser::~SDXParser ( ) [virtual]

destructor

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

Member Function Documentation

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

checks if the document header is correct (or not)

Implements STOFFParser.

Referenced by parse().

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

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


Member Data Documentation

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

the state

Referenced by checkHeader(), and init().


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