22 #ifndef WKS4_SPREADSHEET_H
23 #define WKS4_SPREADSHEET_H
28 #include <librevenge-stream/librevenge-stream.h>
134 bool readFormula(
long endPos,
Vec2i const &pos, std::vector<WKSContentListener::FormulaInstruction> &formula, std::string &error);
150 shared_ptr<WKS4SpreadsheetInternal::State>
m_state;
bool readRowSize2()
reads the row size ( in ???)
Definition: WKS4Spreadsheet.cpp:532
RVNGInputStreamPtr m_input
the input
Definition: WKS4Spreadsheet.h:145
void setListener(WKSContentListenerPtr &listen)
sets the listener
Definition: WKS4Spreadsheet.h:58
bool readFloat4(long endPos, double &res)
Definition: WKS4Spreadsheet.cpp:1518
a cellule of a WKS4 spreadsheet
Definition: WKS4Spreadsheet.cpp:173
shared_ptr< WKSContentListener > m_listener
Definition: WKS4Spreadsheet.h:146
Definition: WPSDebug.h:196
libwps::DebugFile & m_asciiFile
the ascii file
Definition: WKS4Spreadsheet.h:152
Definition: WKS4Spreadsheet.cpp:44
This class parses Microsoft Works spreadsheet or a database file.
Definition: WKS4.h:45
bool readPageBreak()
reads a page break
Definition: WKS4Spreadsheet.cpp:598
bool readNumber(long endPos, double &res)
Definition: WKS4Spreadsheet.cpp:1584
bool readFormula(long endPos, Vec2i const &pos, std::vector< WKSContentListener::FormulaInstruction > &formula, std::string &error)
Definition: WKS4Spreadsheet.cpp:1687
bool readStyle()
reads a style
Definition: WKS4Spreadsheet.cpp:628
WKS4Spreadsheet(WKS4Parser &parser)
constructor
Definition: WKS4Spreadsheet.cpp:373
libwps::DebugFile & ascii()
returns the debug file
Definition: WKS4Spreadsheet.h:140
bool readFilterOpen()
reads the filter's header zone 10:54
Definition: WKS4Spreadsheet.cpp:1887
WKS4Parser & m_mainParser
the listener (if set)
Definition: WKS4Spreadsheet.h:148
void sendCellContent(WKS4SpreadsheetInternal::Cell const &cell)
send the cell data
Definition: WKS4Spreadsheet.cpp:2078
bool readDOSPageBreak()
reads a page break (in a dos file)
Definition: WKS4Spreadsheet.cpp:569
shared_ptr< WKS4SpreadsheetInternal::State > m_state
the internal state
Definition: WKS4Spreadsheet.h:150
shared_ptr< WKSContentListener > WKSContentListenerPtr
shared pointer to WKSContentListener
Definition: libwps_internal.h:107
bool readReportOpen()
reads the report's header zone 17:54
Definition: WKS4Spreadsheet.cpp:1942
bool readSheetSize()
reads sheet size
Definition: WKS4Spreadsheet.cpp:410
int version() const
return the file version
Definition: WKS4Spreadsheet.cpp:384
shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:81
void sendSpreadsheet()
send the data
Definition: WKS4Spreadsheet.cpp:2042
WKS4Spreadsheet & operator=(WKS4Spreadsheet const &orig)
bool checkFilePosition(long pos)
return true if the pos is in the file, update the file size if need
Definition: WKS4Spreadsheet.cpp:391
bool readCell()
reads a cell content data
Definition: WKS4Spreadsheet.cpp:1206
bool readCellFormulaResult()
reads the result of a text formula
Definition: WKS4Spreadsheet.cpp:1422
This class parses Microsoft Works spreadsheet file.
Definition: WKS4Spreadsheet.h:48
~WKS4Spreadsheet()
destructor
Definition: WKS4Spreadsheet.cpp:380
bool readFilterClose()
reads the filter's end zone 11:54
Definition: WKS4Spreadsheet.cpp:1911
small class use to define a formula instruction
Definition: WKSContentListener.h:51
bool readColumnSize2()
reads the column size ( in ???)
Definition: WKS4Spreadsheet.cpp:493
bool readDOSCellProperty()
reads actualCell properties
Definition: WKS4Spreadsheet.cpp:876
bool readDOSCellExtraProperty()
reads the actual cell addendum properties ( contains at least the color)
Definition: WKS4Spreadsheet.cpp:1132
bool readColumnSize()
reads the column size ( in ??? )
Definition: WKS4Spreadsheet.cpp:447
bool readDOSFieldProperty()
reads a field property
Definition: WKS4Spreadsheet.cpp:1045
bool readReportClose()
reads the report's end zone 18:54
Definition: WKS4Spreadsheet.cpp:2011