the main class to read the table ( or a chart ) of a Microsoft Works file More...
#include <MsWksTable.hxx>
Public Member Functions | |
| MsWksTable (MWAWParser &parser, MsWksDocument &zone, MsWksGraph &graph) | |
| constructor More... | |
| virtual | ~MsWksTable () |
| destructor More... | |
| int | version () const |
| returns the file version More... | |
| bool | readTable (int numCol, int numRow, int zoneId, MsWksGraph::Style const &style) |
| try to read a table zone More... | |
| bool | sendTable (int zoneId) |
| try to a table zone More... | |
| bool | readChart (int chartId, MsWksGraph::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< MsWksTableInternal::State > | m_state |
| the state More... | |
| MWAWParser * | m_mainParser |
| the main parser; More... | |
| MsWksGraph * | m_graphParser |
| the graph parser; More... | |
| MsWksDocument & | m_zone |
| the input zone More... | |
Private Member Functions | |
| MsWksTable (MsWksTable const &orig) | |
| MsWksTable & | operator= (MsWksTable const &orig) |
Friends | |
| class | MsWksGraph |
the main class to read the table ( or a chart ) of a Microsoft Works file
| MsWksTable::MsWksTable | ( | MWAWParser & | parser, |
| MsWksDocument & | zone, | ||
| MsWksGraph & | graph | ||
| ) |
constructor
|
virtual |
destructor
|
private |
|
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().
|
friend |
|
protected |
the graph parser;
Referenced by readChart(), and sendChart().
|
protected |
the main parser;
|
protected |
the parser state
Referenced by readChart(), readTable(), sendChart(), sendTable(), and version().
|
protected |
the state
Referenced by readChart(), readTable(), sendChart(), sendTable(), setChartZoneId(), and version().
|
protected |
the input zone
Referenced by readChart(), readTable(), and sendChart().