WingzParser Class Reference

the main class to read a Wingz document More...

#include <WingzParser.hxx>

Inheritance diagram for WingzParser:
MWAWSpreadsheetParser MWAWParser

List of all members.

Public Member Functions

 WingzParser (MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
 constructor
virtual ~WingzParser ()
 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 createZones ()
 finds the different objects zones
bool readPrintInfo ()
 read the print info zone
bool readPreferences ()
 read the preference zone ( the first zone)
bool readSpreadsheet ()
 read the spreadshet zone
bool readSpreadsheetSize ()
 read some spreadsheet size (col/row size or page break)
bool readSpreadsheetPBreak ()
 read a page break zone
bool readSpreadsheetStyle ()
 read a style in a spreadsheet
bool readSpreadsheetCellName ()
 read a spreadsheet cell name
bool readFormula ()
 read a formula in a spreadsheet
bool readSpreadsheetCellList ()
 read a spreadsheet list of cell
bool readSpreadsheetZone5 ()
 read a spreadsheet unknown zone 5
bool readGraphic ()
 read a graphic zone
bool readChartData ()
 read a chart ( some graphic zone)
bool readTextZone ()
 read a text zone or a button zone ( some graphic zone)
bool readMacro ()
 read a macro in a text zone ( some graphic zone)
bool decodeEncrypted ()
 try to decode an encrypted input
bool findNextZone (int lastType=0)
 try to find the next spreadsheet zone

Protected Attributes

shared_ptr
< WingzParserInternal::State
m_state
 the state

Detailed Description

the main class to read a Wingz document

Note:
need more files to be sure to treat all documents, ie. as some flags (defining the following type's field) can appear in many structures, only having a lot of documents can allow to find all this type's fields...

Constructor & Destructor Documentation

constructor

destructor


Member Function Documentation

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

checks if the document header is correct (or not)

Implements MWAWParser.

Referenced by parse().

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

creates the listener which will be associated to the document

Referenced by parse().

bool WingzParser::createZones ( ) [protected]

finds the different objects zones

Referenced by parse().

bool WingzParser::decodeEncrypted ( ) [protected]

try to decode an encrypted input

Referenced by parse().

bool WingzParser::findNextZone ( int  lastType = 0) [protected]

try to find the next spreadsheet zone

Referenced by createZones(), readChartData(), readSpreadsheet(), and readTextZone().

void WingzParser::init ( ) [protected]

inits all internal variables

Referenced by WingzParser().

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

virtual function used to parse the input

Implements MWAWSpreadsheetParser.

bool WingzParser::readChartData ( ) [protected]

read a chart ( some graphic zone)

Referenced by readGraphic().

bool WingzParser::readFormula ( ) [protected]

read a formula in a spreadsheet

Referenced by readSpreadsheet().

bool WingzParser::readGraphic ( ) [protected]

read a graphic zone

Referenced by readSpreadsheet().

bool WingzParser::readMacro ( ) [protected]

read a macro in a text zone ( some graphic zone)

Referenced by readGraphic(), and readSpreadsheet().

bool WingzParser::readPreferences ( ) [protected]

read the preference zone ( the first zone)

Referenced by createZones().

bool WingzParser::readPrintInfo ( ) [protected]

read the print info zone

Referenced by readSpreadsheet().

bool WingzParser::readSpreadsheet ( ) [protected]

read the spreadshet zone

Referenced by createZones().

read a spreadsheet list of cell

Referenced by readSpreadsheet().

read a spreadsheet cell name

Referenced by readSpreadsheet().

bool WingzParser::readSpreadsheetPBreak ( ) [protected]

read a page break zone

Referenced by readSpreadsheet().

bool WingzParser::readSpreadsheetSize ( ) [protected]

read some spreadsheet size (col/row size or page break)

Referenced by readSpreadsheet().

bool WingzParser::readSpreadsheetStyle ( ) [protected]

read a style in a spreadsheet

Referenced by readSpreadsheet().

bool WingzParser::readSpreadsheetZone5 ( ) [protected]

read a spreadsheet unknown zone 5

Referenced by readSpreadsheet().

bool WingzParser::readTextZone ( ) [protected]

read a text zone or a button zone ( some graphic zone)

Referenced by readGraphic().

bool WingzParser::sendSpreadsheet ( ) [protected]

try to send the main spreadsheet

Referenced by parse().


Member Data Documentation


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