GreatWksSSParser Class Reference

the main class to read a GreatWorks spreadsheet file More...

#include <GreatWksSSParser.hxx>

Inheritance diagram for GreatWksSSParser:
MWAWSpreadsheetParser MWAWParser

List of all members.

Public Member Functions

 GreatWksSSParser (MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
 constructor
virtual ~GreatWksSSParser ()
 destructor
bool checkHeader (MWAWHeader *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 init ()
 inits all internal variables
void createDocument (librevenge::RVNGSpreadsheetInterface *documentInterface)
 creates the listener which will be associated to the document
bool sendSpreadsheet ()
 try to send the main spreadsheet
bool sendHF (int id)
 try to send the i^th header/footer
bool createZones ()
 finds the different objects zones
bool readStyles ()
 try to read the styles
bool readSpreadsheet ()
 read the spreadsheet block ( many unknown data )
bool readChart ()
 try to read the chart zone: v2
bool readCell (GreatWksSSParserInternal::Cell &cell)
 try to read a cell

Protected Attributes

shared_ptr
< GreatWksSSParserInternal::State
m_state
 the state
shared_ptr< GreatWksDocumentm_document
 the document

Friends

class GreatWksSSParserInternal::SubDocument

Detailed Description

the main class to read a GreatWorks spreadsheet file


Constructor & Destructor Documentation

constructor

destructor


Member Function Documentation

bool GreatWksSSParser::checkHeader ( MWAWHeader header,
bool  strict = false 
) [virtual]

checks if the document header is correct (or not)

Implements MWAWParser.

Referenced by parse().

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

creates the listener which will be associated to the document

Referenced by parse().

bool GreatWksSSParser::createZones ( ) [protected]

finds the different objects zones

Referenced by parse().

void GreatWksSSParser::init ( ) [protected]

inits all internal variables

Referenced by GreatWksSSParser().

void GreatWksSSParser::parse ( librevenge::RVNGSpreadsheetInterface *  documentInterface) [virtual]

virtual function used to parse the input

Implements MWAWSpreadsheetParser.

try to read a cell

Referenced by readSpreadsheet().

bool GreatWksSSParser::readChart ( ) [protected]

try to read the chart zone: v2

Referenced by readSpreadsheet().

bool GreatWksSSParser::readSpreadsheet ( ) [protected]

read the spreadsheet block ( many unknown data )

Referenced by createZones().

bool GreatWksSSParser::readStyles ( ) [protected]

try to read the styles

Referenced by readSpreadsheet().

bool GreatWksSSParser::sendHF ( int  id) [protected]

try to send the i^th header/footer

Referenced by GreatWksSSParserInternal::SubDocument::parse().

bool GreatWksSSParser::sendSpreadsheet ( ) [protected]

try to send the main spreadsheet

Referenced by parse().


Friends And Related Function Documentation


Member Data Documentation


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