CWSpreadsheet Class Reference

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

#include <CWSpreadsheet.hxx>

List of all members.

Public Member Functions

 CWSpreadsheet (CWParser &parser)
 constructor
virtual ~CWSpreadsheet ()
 destructor
int version () const
 returns the file version
int numPages () const
 returns the number of pages
shared_ptr< CWStruct::DSETreadSpreadsheetZone (CWStruct::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)
 sends the zone data to the listener (if it exists )

Protected Member Functions

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

Protected Attributes

MWAWParserStatePtr m_parserState
 the parser state
shared_ptr
< CWSpreadsheetInternal::State
m_state
 the state
CWParserm_mainParser
 the main parser;
shared_ptr< CWStyleManagerm_styleManager
 the style manager

Private Member Functions

 CWSpreadsheet (CWSpreadsheet const &orig)
CWSpreadsheetoperator= (CWSpreadsheet const &orig)

Friends

class CWParser

Detailed Description

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


Constructor & Destructor Documentation

constructor

destructor

CWSpreadsheet::CWSpreadsheet ( CWSpreadsheet const &  orig) [private]

Member Function Documentation

bool CWSpreadsheet::canSendSpreadsheetAsGraphic ( int  ) const [inline]

check if we can send a spreadsheet as graphic

int CWSpreadsheet::numPages ( ) const

returns the number of pages

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

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

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().


Friends And Related Function Documentation

friend class CWParser [friend]

Member Data Documentation

the main parser;

Referenced by sendSpreadsheet().

the state

Referenced by sendSpreadsheet().

the style manager


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