SDCParser Class Reference

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

#include <SDCParser.hxx>

Inheritance diagram for SDCParser:
STOFFSpreadsheetParser STOFFParser

List of all members.

Public Member Functions

 SDCParser (STOFFInputStreamPtr input, STOFFHeader *header)
 constructor
virtual ~SDCParser ()
 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::RVNGSpreadsheetInterface *documentInterface)
 virtual function used to parse the input

Protected Member Functions

void createDocument (librevenge::RVNGSpreadsheetInterface *documentInterface)
 creates the listener which will be associated to the document
bool createZones ()
 parses the different OLE, ...
bool sendSpreadsheet ()
 try to send the spreadsheet

Protected Attributes

char const * m_password
 the password
shared_ptr< STOFFOLEParserm_oleParser
 the ole parser
shared_ptr
< SDCParserInternal::State
m_state
 the state

Private Member Functions

 SDCParser (SDCParser const &orig)
SDCParseroperator= (SDCParser const &orig)

Detailed Description

the main class to read a StarOffice sdc file


Constructor & Destructor Documentation

constructor

SDCParser::~SDCParser ( ) [virtual]

destructor

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

Member Function Documentation

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

checks if the document header is correct (or not)

Implements STOFFParser.

Referenced by parse().

void SDCParser::createDocument ( librevenge::RVNGSpreadsheetInterface *  documentInterface) [protected]

creates the listener which will be associated to the document

Referenced by parse().

bool SDCParser::createZones ( ) [protected]

parses the different OLE, ...

Referenced by parse().

SDCParser& SDCParser::operator= ( SDCParser const &  orig) [private]
void SDCParser::parse ( librevenge::RVNGSpreadsheetInterface *  documentInterface) [virtual]

virtual function used to parse the input

Implements STOFFSpreadsheetParser.

bool SDCParser::sendSpreadsheet ( ) [protected]

try to send the spreadsheet

Referenced by parse().

void SDCParser::setDocumentPassword ( char const *  passwd) [inline]

set the document password

Referenced by STOFFDocumentInternal::getSpreadsheetParserFromHeader().


Member Data Documentation

shared_ptr<STOFFOLEParser> SDCParser::m_oleParser [protected]

the ole parser

Referenced by createZones(), and parse().

char const* SDCParser::m_password [protected]

the password

Referenced by createZones(), parse(), and setDocumentPassword().


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