the main class to read the text part of Claris Works file More...
#include <ClarisWksSpreadsheet.hxx>
Public Member Functions | |
ClarisWksSpreadsheet (ClarisWksDocument &document) | |
constructor More... | |
virtual | ~ClarisWksSpreadsheet () |
destructor More... | |
int | version () const |
returns the file version More... | |
int | numPages () const |
returns the number of pages More... | |
shared_ptr< ClarisWksStruct::DSET > | readSpreadsheetZone (ClarisWksStruct::DSET const &zone, MWAWEntry const &entry, bool &complete) |
reads the zone Text DSET More... | |
bool | canSendSpreadsheetAsGraphic (int) const |
check if we can send a spreadsheet as graphic More... | |
bool | sendSpreadsheet (int number, MWAWListenerPtr listener) |
sends the zone data to the listener (if it exists ) More... | |
bool | sendSpreadsheetAsTable (int number, MWAWListenerPtr listener) |
sends the zone data to the listener (if it exists ) More... | |
Protected Member Functions | |
bool | readZone1 (ClarisWksSpreadsheetInternal::Spreadsheet &sheet) |
try to read the first spreadsheet zone More... | |
bool | readRowHeightZone (ClarisWksSpreadsheetInternal::Spreadsheet &sheet) |
try to read the row height zone More... | |
Protected Attributes | |
ClarisWksDocument & | m_document |
the document More... | |
MWAWParserStatePtr | m_parserState |
the parser state More... | |
shared_ptr < ClarisWksSpreadsheetInternal::State > | m_state |
the state More... | |
MWAWParser * | m_mainParser |
the main parser; More... | |
Private Member Functions | |
ClarisWksSpreadsheet (ClarisWksSpreadsheet const &orig) | |
ClarisWksSpreadsheet & | operator= (ClarisWksSpreadsheet const &orig) |
Friends | |
class | ClarisWksParser |
the main class to read the text part of Claris Works file
ClarisWksSpreadsheet::ClarisWksSpreadsheet | ( | ClarisWksDocument & | document | ) |
constructor
|
virtual |
destructor
|
private |
|
inline |
check if we can send a spreadsheet as graphic
int ClarisWksSpreadsheet::numPages | ( | ) | const |
returns the number of pages
|
private |
|
protected |
try to read the row height zone
shared_ptr< ClarisWksStruct::DSET > ClarisWksSpreadsheet::readSpreadsheetZone | ( | ClarisWksStruct::DSET const & | zone, |
MWAWEntry const & | entry, | ||
bool & | complete | ||
) |
reads the zone Text DSET
|
protected |
try to read the first spreadsheet zone
bool ClarisWksSpreadsheet::sendSpreadsheet | ( | int | number, |
MWAWListenerPtr | listener | ||
) |
sends the zone data to the listener (if it exists )
bool ClarisWksSpreadsheet::sendSpreadsheetAsTable | ( | int | number, |
MWAWListenerPtr | listener | ||
) |
sends the zone data to the listener (if it exists )
Referenced by sendSpreadsheet().
int ClarisWksSpreadsheet::version | ( | ) | const |
returns the file version
Referenced by readZone1().
|
friend |
|
protected |
the document
|
protected |
the main parser;
|
protected |
the parser state
Referenced by readRowHeightZone(), readZone1(), sendSpreadsheet(), sendSpreadsheetAsTable(), and version().
|
protected |
the state
Referenced by sendSpreadsheet(), and sendSpreadsheetAsTable().