ClarisWksSpreadsheet Class Reference

the main class to read the text part of Claris Works file More...

#include <ClarisWksSpreadsheet.hxx>

List of all members.

Public Member Functions

 ClarisWksSpreadsheet (ClarisWksDocument &document)
 constructor
virtual ~ClarisWksSpreadsheet ()
 destructor
int version () const
 returns the file version
int numPages () const
 returns the number of pages
shared_ptr< ClarisWksStruct::DSETreadSpreadsheetZone (ClarisWksStruct::DSET const &zone, MWAWEntry const &entry, bool &complete)
 reads the zone Text DSET
bool canSendSpreadsheetAsGraphic (int) const
 check if we can send a spreadsheet as graphic
bool sendSpreadsheet (int number, MWAWListenerPtr listener)
 sends the zone data to the listener (if it exists )
bool sendSpreadsheetAsTable (int number, MWAWListenerPtr listener)
 sends the zone data to the listener (if it exists )

Protected Member Functions

bool readZone1 (ClarisWksSpreadsheetInternal::Spreadsheet &sheet)
 try to read the first spreadsheet zone
bool readRowHeightZone (ClarisWksSpreadsheetInternal::Spreadsheet &sheet)
 try to read the row height zone

Protected Attributes

ClarisWksDocumentm_document
 the document
MWAWParserStatePtr m_parserState
 the parser state
shared_ptr
< ClarisWksSpreadsheetInternal::State
m_state
 the state
MWAWParserm_mainParser
 the main parser;

Private Member Functions

 ClarisWksSpreadsheet (ClarisWksSpreadsheet const &orig)
ClarisWksSpreadsheetoperator= (ClarisWksSpreadsheet const &orig)

Friends

class ClarisWksParser

Detailed Description

the main class to read the text part of Claris Works file


Constructor & Destructor Documentation


Member Function Documentation

check if we can send a spreadsheet as graphic

returns the number of pages

ClarisWksSpreadsheet& ClarisWksSpreadsheet::operator= ( ClarisWksSpreadsheet const &  orig) [private]

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

try to read the first spreadsheet zone

bool ClarisWksSpreadsheet::sendSpreadsheet ( int  number,
MWAWListenerPtr  listener 
)

sends the zone data to the listener (if it exists )

sends the zone data to the listener (if it exists )

Referenced by sendSpreadsheet().

returns the file version

Referenced by readZone1().


Friends And Related Function Documentation

friend class ClarisWksParser [friend]

Member Data Documentation

the main parser;


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