ClarisWksTable Class Reference

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

#include <ClarisWksTable.hxx>

List of all members.

Public Member Functions

 ClarisWksTable (ClarisWksDocument &document)
 constructor
virtual ~ClarisWksTable ()
 destructor
int version () const
 returns the file version
int numPages () const
 returns the number of pages
shared_ptr< ClarisWksStruct::DSETreadTableZone (ClarisWksStruct::DSET const &zone, MWAWEntry const &entry, bool &complete)
 reads the zone Text DSET

Protected Member Functions

bool sendZone (int number)
 sends the zone data to the listener (if it exists )
bool askMainToSendZone (int number)
 ask the main parser to send a zone
void flushExtra ()
 sends the data which have not yet been sent to the listener
bool readTableBorders (ClarisWksTableInternal::Table &table)
 try to read the table border
bool readTableCells (ClarisWksTableInternal::Table &table)
 try to read the table cells
bool readTableBordersId (ClarisWksTableInternal::Table &table)
 try to read the table border
bool readTablePointers (ClarisWksTableInternal::Table &table)
 try to read a list of pointer ( unknown meaning )

Protected Attributes

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

Private Member Functions

 ClarisWksTable (ClarisWksTable const &orig)
ClarisWksTableoperator= (ClarisWksTable const &orig)

Friends

class ClarisWksDocument
class ClarisWksParser
struct ClarisWksTableInternal::Table

Detailed Description

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


Constructor & Destructor Documentation

destructor

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

Member Function Documentation

bool ClarisWksTable::askMainToSendZone ( int  number) [protected]

ask the main parser to send a zone

Referenced by ClarisWksTableInternal::Table::askMainToSendZone().

void ClarisWksTable::flushExtra ( ) [protected]

sends the data which have not yet been sent to the listener

int ClarisWksTable::numPages ( ) const

returns the number of pages

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

try to read the table border

try to read the table border

try to read the table cells

try to read a list of pointer ( unknown meaning )

shared_ptr< ClarisWksStruct::DSET > ClarisWksTable::readTableZone ( ClarisWksStruct::DSET const &  zone,
MWAWEntry const &  entry,
bool &  complete 
)

reads the zone Text DSET

find 3 ptr here in general >= PTR, very often PTR+4,PTR+8,PTR+c, but can be more complex for instance PTR+354,PTR-6924,PTR+7fc,

three fields which seems to follows the list of cells zone 0 : looks like a list of integer : related to last selected border ? zone 1 : looks like a list of integer : unknown meaning

bool ClarisWksTable::sendZone ( int  number) [protected]

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

Referenced by flushExtra().

int ClarisWksTable::version ( ) const

returns the file version


Friends And Related Function Documentation

friend class ClarisWksDocument [friend]
friend class ClarisWksParser [friend]
friend struct ClarisWksTableInternal::Table [friend]

Member Data Documentation

the main parser;

the state

Referenced by flushExtra(), and sendZone().


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