the main class to read the text part of Claris Works file More...
#include <CWSpreadsheet.hxx>
Public Member Functions | |
CWSpreadsheet (CWParser &parser) | |
constructor More... | |
virtual | ~CWSpreadsheet () |
destructor More... | |
int | version () const |
returns the file version More... | |
int | numPages () const |
returns the number of pages More... | |
shared_ptr< CWStruct::DSET > | readSpreadsheetZone (CWStruct::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) |
sends the zone data to the listener (if it exists ) More... | |
Protected Member Functions | |
bool | readZone1 (CWSpreadsheetInternal::Spreadsheet &sheet) |
try to read the first spreadsheet zone More... | |
bool | readRowHeightZone (CWSpreadsheetInternal::Spreadsheet &sheet) |
try to read the row height zone More... | |
Protected Attributes | |
MWAWParserStatePtr | m_parserState |
the parser state More... | |
shared_ptr < CWSpreadsheetInternal::State > | m_state |
the state More... | |
CWParser * | m_mainParser |
the main parser; More... | |
shared_ptr< CWStyleManager > | m_styleManager |
the style manager More... | |
Private Member Functions | |
CWSpreadsheet (CWSpreadsheet const &orig) | |
CWSpreadsheet & | operator= (CWSpreadsheet const &orig) |
Friends | |
class | CWParser |
the main class to read the text part of Claris Works file
CWSpreadsheet::CWSpreadsheet | ( | CWParser & | parser | ) |
constructor
|
virtual |
destructor
|
private |
|
inline |
check if we can send a spreadsheet as graphic
int CWSpreadsheet::numPages | ( | ) | const |
returns the number of pages
|
private |
|
protected |
try to read the row height zone
shared_ptr< CWStruct::DSET > CWSpreadsheet::readSpreadsheetZone | ( | CWStruct::DSET const & | zone, |
MWAWEntry const & | entry, | ||
bool & | complete | ||
) |
reads the zone Text DSET
|
protected |
try to read the first spreadsheet zone
bool CWSpreadsheet::sendSpreadsheet | ( | int | number | ) |
sends the zone data to the listener (if it exists )
int CWSpreadsheet::version | ( | ) | const |
returns the file version
Referenced by readZone1().
|
friend |
|
protected |
the main parser;
Referenced by sendSpreadsheet().
|
protected |
the parser state
Referenced by readRowHeightZone(), readZone1(), sendSpreadsheet(), and version().
|
protected |
the state
Referenced by sendSpreadsheet().
|
protected |
the style manager