the main class to read the spreadsheet part of ragTime file More...
#include <RagTimeSpreadsheet.hxx>
Public Member Functions | |
RagTimeSpreadsheet (RagTimeParser &parser) | |
constructor More... | |
virtual | ~RagTimeSpreadsheet () |
destructor More... | |
int | version () const |
returns the file version More... | |
Protected Member Functions | |
bool | readSpreadsheet (MWAWEntry &entry) |
try to read a spreadsheet zone: v3-... More... | |
bool | readSpreadsheetV2 (MWAWEntry &entry) |
try to read spreadsheet zone ( a big zone):v2 More... | |
bool | readSpreadsheetCellsV2 (MWAWEntry &entry, RagTimeSpreadsheetInternal::Spreadsheet &sheet) |
try to read spreadsheet cells :v2 More... | |
bool | readSpreadsheetExtraV2 (MWAWEntry &entry, RagTimeSpreadsheetInternal::Spreadsheet &sheet) |
try to read spreadsheet end zone (positions, ...) :v2 More... | |
bool | send (int zId, MWAWPosition const &pos) |
send a spreadsheet corresponding to zId More... | |
void | flushExtra () |
flush extra data More... | |
bool | readSpreadsheetCellV2 (RagTimeSpreadsheetInternal::Cell &cell, long endPos) |
try to read a cell :v2 More... | |
bool | readFormula (Vec2i const &cellPos, std::vector< MWAWCellContent::FormulaInstruction > &formula, long endPos, std::string &extra) |
try to read a formula More... | |
bool | readCellInFormula (Vec2i const &pos, bool canBeList, MWAWCellContent::FormulaInstruction &instr, long endPos, std::string &extra) |
try to read a cell in a formula More... | |
bool | send (RagTimeSpreadsheetInternal::Spreadsheet &sheet, MWAWSpreadsheetListenerPtr listener) |
send a spreadsheet to a listener More... | |
Protected Attributes | |
MWAWParserStatePtr | m_parserState |
the parser state More... | |
shared_ptr < RagTimeSpreadsheetInternal::State > | m_state |
the state More... | |
RagTimeParser * | m_mainParser |
the main parser; More... | |
Private Member Functions | |
RagTimeSpreadsheet (RagTimeSpreadsheet const &orig) | |
RagTimeSpreadsheet & | operator= (RagTimeSpreadsheet const &orig) |
Friends | |
class | RagTimeParser |
the main class to read the spreadsheet part of ragTime file
RagTimeSpreadsheet::RagTimeSpreadsheet | ( | RagTimeParser & | parser | ) |
constructor
|
virtual |
destructor
|
private |
|
protected |
flush extra data
|
private |
|
protected |
try to read a cell in a formula
Referenced by readFormula().
|
protected |
try to read a formula
Referenced by readSpreadsheetCellV2().
|
protected |
try to read a spreadsheet zone: v3-...
|
protected |
try to read spreadsheet cells :v2
Referenced by readSpreadsheetV2().
|
protected |
try to read a cell :v2
Referenced by readSpreadsheetCellsV2().
|
protected |
try to read spreadsheet end zone (positions, ...) :v2
Referenced by readSpreadsheetV2().
|
protected |
try to read spreadsheet zone ( a big zone):v2
|
protected |
send a spreadsheet corresponding to zId
Referenced by flushExtra().
|
protected |
send a spreadsheet to a listener
int RagTimeSpreadsheet::version | ( | ) | const |
returns the file version
Referenced by readSpreadsheet(), and readSpreadsheetV2().
|
friend |
|
protected |
the main parser;
Referenced by readSpreadsheetCellV2().
|
protected |
the parser state
Referenced by flushExtra(), readCellInFormula(), readFormula(), readSpreadsheet(), readSpreadsheetCellsV2(), readSpreadsheetCellV2(), readSpreadsheetExtraV2(), readSpreadsheetV2(), send(), and version().
|
protected |
the state
Referenced by flushExtra(), readSpreadsheetV2(), send(), and version().