the main class to read a GreatWorks spreadsheet file More...
#include <GreatWksSSParser.hxx>
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< GreatWksDocument > | m_document |
| the document | |
Friends | |
| class | GreatWksSSParserInternal::SubDocument |
the main class to read a GreatWorks spreadsheet file
| GreatWksSSParser::GreatWksSSParser | ( | MWAWInputStreamPtr | input, |
| MWAWRSRCParserPtr | rsrcParser, | ||
| MWAWHeader * | header | ||
| ) |
constructor
| GreatWksSSParser::~GreatWksSSParser | ( | ) | [virtual] |
destructor
| bool GreatWksSSParser::checkHeader | ( | MWAWHeader * | header, |
| bool | strict = false |
||
| ) | [virtual] |
| 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.
| bool GreatWksSSParser::readCell | ( | GreatWksSSParserInternal::Cell & | cell | ) | [protected] |
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().
friend class GreatWksSSParserInternal::SubDocument [friend] |
shared_ptr<GreatWksDocument> GreatWksSSParser::m_document [protected] |
the document
Referenced by checkHeader(), createDocument(), createZones(), init(), readCell(), readSpreadsheet(), readStyles(), sendHF(), and sendSpreadsheet().
shared_ptr<GreatWksSSParserInternal::State> GreatWksSSParser::m_state [protected] |
the state
Referenced by checkHeader(), createDocument(), init(), readSpreadsheet(), readStyles(), sendHF(), and sendSpreadsheet().