MSKTable Class Reference

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

#include <MSKTable.hxx>

List of all members.

Public Member Functions

 MSKTable (MSKParser &parser, MSKGraph &graph)
 constructor
virtual ~MSKTable ()
 destructor
int version () const
 returns the file version
bool readTable (int numCol, int numRow, int zoneId, MSKGraph::Style const &style)
 try to read a table zone
bool sendTable (int zoneId)
 try to a table zone
bool readChart (int chartId, MSKGraph::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
< MSKTableInternal::State
m_state
 the state
MSKParserm_mainParser
 the main parser;
MSKGraphm_graphParser
 the graph parser;

Private Member Functions

 MSKTable (MSKTable const &orig)
MSKTableoperator= (MSKTable const &orig)

Friends

class MSKGraph

Detailed Description

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


Constructor & Destructor Documentation

MSKTable::MSKTable ( MSKParser parser,
MSKGraph graph 
)

constructor

MSKTable::~MSKTable ( ) [virtual]

destructor

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

Member Function Documentation

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

try to read a chart zone

bool MSKTable::readTable ( int  numCol,
int  numRow,
int  zoneId,
MSKGraph::Style const &  style 
)

try to read a table zone

bool MSKTable::sendChart ( int  chartId)

try to a chart zone

bool MSKTable::sendTable ( int  zoneId)

try to a table zone

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

fix the correspondance between a chart and the zone id

int MSKTable::version ( ) const

returns the file version

Referenced by readChart(), and readTable().


Friends And Related Function Documentation

friend class MSKGraph [friend]

Member Data Documentation

the graph parser;

Referenced by readChart(), and sendChart().

the main parser;

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

the parser state

Referenced by readTable(), sendChart(), sendTable(), and version().


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