MSKTable Class Reference

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

#include <MSKTable.hxx>

Public Member Functions

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

Protected Attributes

MWAWParserStatePtr m_parserState
 the parser state More...
 
shared_ptr
< MSKTableInternal::State
m_state
 the state More...
 
MSKParserm_mainParser
 the main parser; More...
 
MSKGraphm_graphParser
 the graph parser; More...
 

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

MSKGraph* MSKTable::m_graphParser
protected

the graph parser;

Referenced by readChart(), and sendChart().

MSKParser* MSKTable::m_mainParser
protected

the main parser;

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

MWAWParserStatePtr MSKTable::m_parserState
protected

the parser state

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

shared_ptr<MSKTableInternal::State> MSKTable::m_state
protected

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

Generated on Tue Mar 10 2015 17:32:09 for libmwaw by doxygen 1.8.5