SDWParser Class Reference

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

#include <SDWParser.hxx>

Inheritance diagram for SDWParser:
STOFFTextParser STOFFParser

List of all members.

Public Member Functions

 SDWParser (STOFFInputStreamPtr input, STOFFHeader *header)
 constructor
virtual ~SDWParser ()
 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 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
< SDWParserInternal::State
m_state
 the state

Private Member Functions

 SDWParser (SDWParser const &orig)
SDWParseroperator= (SDWParser const &orig)

Detailed Description

the main class to read a StarOffice sdw file


Constructor & Destructor Documentation

constructor

SDWParser::~SDWParser ( ) [virtual]

destructor

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

Member Function Documentation

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

checks if the document header is correct (or not)

Implements STOFFParser.

Referenced by parse().

void SDWParser::createDocument ( librevenge::RVNGTextInterface *  documentInterface) [protected]

creates the listener which will be associated to the document

Referenced by parse().

bool SDWParser::createZones ( ) [protected]

parses the different OLE, ...

Referenced by parse().

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

virtual function used to parse the input

Implements STOFFTextParser.

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

set the document password

Referenced by STOFFDocumentInternal::getTextParserFromHeader().


Member Data Documentation

shared_ptr<STOFFOLEParser> SDWParser::m_oleParser [protected]

the ole parser

Referenced by createZones(), and parse().

char const* SDWParser::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: