MsWksTable Class Reference

the main class to read the table ( or a chart ) of a Microsoft Works file More...

#include <MsWksTable.hxx>

List of all members.

Public Member Functions

 MsWksTable (MWAWParser &parser, MsWksDocument &zone, MsWksGraph &graph)
 constructor
virtual ~MsWksTable ()
 destructor
int version () const
 returns the file version
bool readTable (int numCol, int numRow, int zoneId, MsWksGraph::Style const &style)
 try to read a table zone
bool sendTable (int zoneId)
 try to a table zone
bool readChart (int chartId, MsWksGraph::Style const &style)
 try to read a chart zone
void setChartZoneId (int chartId, int zoneId)
 fix the correspondance between a chart and the zone id
bool sendChart (int chartId)
 try to a chart zone

Protected Attributes

MWAWParserStatePtr m_parserState
 the parser state
shared_ptr
< MsWksTableInternal::State
m_state
 the state
MWAWParserm_mainParser
 the main parser;
MsWksGraphm_graphParser
 the graph parser;
MsWksDocumentm_zone
 the input zone

Private Member Functions

 MsWksTable (MsWksTable const &orig)
MsWksTableoperator= (MsWksTable const &orig)

Friends

class MsWksGraph

Detailed Description

the main class to read the table ( or a chart ) of a Microsoft Works file


Constructor & Destructor Documentation

MsWksTable::MsWksTable ( MWAWParser parser,
MsWksDocument zone,
MsWksGraph graph 
)

constructor

MsWksTable::~MsWksTable ( ) [virtual]

destructor

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

Member Function Documentation

MsWksTable& MsWksTable::operator= ( MsWksTable const &  orig) [private]
bool MsWksTable::readChart ( int  chartId,
MsWksGraph::Style const &  style 
)

try to read a chart zone

bool MsWksTable::readTable ( int  numCol,
int  numRow,
int  zoneId,
MsWksGraph::Style const &  style 
)

try to read a table zone

bool MsWksTable::sendChart ( int  chartId)

try to a chart zone

bool MsWksTable::sendTable ( int  zoneId)

try to a table zone

void MsWksTable::setChartZoneId ( int  chartId,
int  zoneId 
)

fix the correspondance between a chart and the zone id

int MsWksTable::version ( ) const

returns the file version

Referenced by readChart(), and readTable().


Friends And Related Function Documentation

friend class MsWksGraph [friend]

Member Data Documentation

the graph parser;

Referenced by readChart(), and sendChart().

the main parser;

the input zone

Referenced by readChart(), readTable(), and sendChart().


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