38#ifndef RAGTIME_SPREADSHEET
39# define RAGTIME_SPREADSHEET
142 bool readFormulaV2(
MWAWVec2i const &cellPos, std::vector<MWAWCellContent::FormulaInstruction> &formula,
long endPos, std::string &extra);
144 bool readFormula(
MWAWVec2i const &cellPos, std::vector<MWAWCellContent::FormulaInstruction> &formula,
long endPos, std::string &extra);
164 shared_ptr<RagTimeSpreadsheetInternal::State>
m_state;
Defines MWAWCell (cell content and format)
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
the main class to read a RagTime v2-3 file
Definition: RagTimeParser.hxx:61
the main class to read the spreadsheet part of ragTime file
Definition: RagTimeSpreadsheet.hxx:72
bool readSpreadsheetV2(MWAWEntry &entry)
try to read spreadsheet zone ( a big zone):v2
Definition: RagTimeSpreadsheet.cxx:1879
bool readSpreadsheetSimpleStructure(MWAWEntry const &entry, RagTimeSpreadsheetInternal::Spreadsheet &sheet)
try to read a simple structured spreadsheet zone
Definition: RagTimeSpreadsheet.cxx:1649
bool readSpreadsheetExtraV2(MWAWEntry &entry, RagTimeSpreadsheetInternal::Spreadsheet &sheet)
try to read spreadsheet end zone (positions, ...) :v2
Definition: RagTimeSpreadsheet.cxx:2359
bool readPositionsList(MWAWEntry const &entry, std::vector< long > &posList, long &lastDataPos)
try to read a list of position
Definition: RagTimeSpreadsheet.cxx:1135
bool readBlockHeader(MWAWEntry const &entry, RagTimeSpreadsheetInternal::ComplexBlock &block)
try to read a complex bock header
Definition: RagTimeSpreadsheet.cxx:1054
void flushExtra()
flush extra data
Definition: RagTimeSpreadsheet.cxx:2553
virtual ~RagTimeSpreadsheet()
destructor
Definition: RagTimeSpreadsheet.cxx:398
bool readCellInFormulaV2(MWAWVec2i const &pos, bool canBeList, MWAWCellContent::FormulaInstruction &instr, long endPos, std::string &extra)
try to read a cell in a formula
Definition: RagTimeSpreadsheet.cxx:2789
bool readSpreadsheetCellV2(RagTimeSpreadsheetInternal::Cell &cell, long endPos)
try to read a cell :v2
Definition: RagTimeSpreadsheet.cxx:2006
bool readSpreadsheetCellsV2(MWAWEntry &entry, RagTimeSpreadsheetInternal::Spreadsheet &sheet)
try to read spreadsheet cells :v2
Definition: RagTimeSpreadsheet.cxx:1942
RagTimeSpreadsheet(RagTimeSpreadsheet const &orig)
bool readFormulaV2(MWAWVec2i const &cellPos, std::vector< MWAWCellContent::FormulaInstruction > &formula, long endPos, std::string &extra)
try to read a formula
Definition: RagTimeSpreadsheet.cxx:3100
bool send(int zId, MWAWPosition const &pos)
send a spreadsheet corresponding to zId
Definition: RagTimeSpreadsheet.cxx:2528
RagTimeSpreadsheet(RagTimeParser &parser)
constructor
Definition: RagTimeSpreadsheet.cxx:393
bool getDateTimeFormat(int dtId, std::string &dtFormat) const
returns the ith date format or ""
Definition: RagTimeSpreadsheet.cxx:411
bool readSpreadsheetComplexStructure(MWAWEntry const &entry, RagTimeSpreadsheetInternal::Spreadsheet &sheet)
try to read a complex structured spreadsheet zone
Definition: RagTimeSpreadsheet.cxx:1728
shared_ptr< RagTimeSpreadsheetInternal::State > m_state
the state
Definition: RagTimeSpreadsheet.hxx:164
bool readSpreadsheetCellFormat(MWAWVec2i const &cellPos, long endPos, RagTimeSpreadsheetInternal::Cell &cell)
try to read a spreadsheet cell's format
Definition: RagTimeSpreadsheet.cxx:1512
bool readResource(MWAWEntry &entry)
try to read a SpXX resource
Definition: RagTimeSpreadsheet.cxx:665
MWAWParserStatePtr m_parserState
the parser state
Definition: RagTimeSpreadsheet.hxx:161
bool readNumericFormat(MWAWEntry &entry)
try to read the numeric/date format table zone: FoTa
Definition: RagTimeSpreadsheet.cxx:421
RagTimeParser * m_mainParser
the main parser;
Definition: RagTimeSpreadsheet.hxx:167
bool readRsrcSpDI(MWAWEntry &entry)
try to read the SpDI zone (a spreadsheet zone zone with id=0)
Definition: RagTimeSpreadsheet.cxx:936
bool readCellInFormula(MWAWVec2i const &pos, bool canBeList, MWAWCellContent::FormulaInstruction &instr, long endPos, std::string &extra)
try to read a cell in a formula
Definition: RagTimeSpreadsheet.cxx:2580
bool readRsrcSpDo(MWAWEntry &entry)
try to read the SpDo zone (a spreadsheet zone with id=0)
Definition: RagTimeSpreadsheet.cxx:994
bool readFormula(MWAWVec2i const &cellPos, std::vector< MWAWCellContent::FormulaInstruction > &formula, long endPos, std::string &extra)
try to read a formula: v3...
Definition: RagTimeSpreadsheet.cxx:2911
bool readSpreadsheetCellContent(RagTimeSpreadsheetInternal::Cell &cell, long endPos)
try to read a spreadsheet cells content
Definition: RagTimeSpreadsheet.cxx:1382
RagTimeSpreadsheet & operator=(RagTimeSpreadsheet const &orig)
bool readSpreadsheetCellDimension(MWAWVec2i const &cellPos, long endPos, RagTimeSpreadsheetInternal::Spreadsheet &sheet)
try to read a spreadsheet cells dimension
Definition: RagTimeSpreadsheet.cxx:1316
bool readSpreadsheetZone9(MWAWEntry const &entry, RagTimeSpreadsheetInternal::Spreadsheet &sheet)
try to read a the last spreadsheet zone
Definition: RagTimeSpreadsheet.cxx:1602
bool readSpreadsheet(MWAWEntry &entry)
try to read a spreadsheet zone: v3-...
Definition: RagTimeSpreadsheet.cxx:1193
int version() const
returns the file version
Definition: RagTimeSpreadsheet.cxx:401
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:509
shared_ptr< MWAWSpreadsheetListener > MWAWSpreadsheetListenerPtr
a smart pointer of MWAWSpreadsheetListener
Definition: libmwaw_internal.hxx:515
Internal: the structures of a RagTimeSpreadsheet.
Definition: RagTimeSpreadsheet.cxx:60
small class use to define a formula instruction
Definition: MWAWCell.hxx:359
Internal: a cell of a RagTimeSpreadsheet.
Definition: RagTimeSpreadsheet.cxx:209
Internal: header of a complex block of a RagTimeSpreadsheet.
Definition: RagTimeSpreadsheet.cxx:174
Internal: a spreadsheet's zone of a RagTimeSpreadsheet.
Definition: RagTimeSpreadsheet.cxx:278