22 #ifndef WKS4_SPREADSHEET_H
23 #define WKS4_SPREADSHEET_H
28 #include <librevenge-stream/librevenge-stream.h>
35 namespace WKS4SpreadsheetInternal
131 std::vector<WKSContentListener::FormulaInstruction> &formula, std::string &error);
147 shared_ptr<WKS4SpreadsheetInternal::State>
m_state;
RVNGInputStreamPtr m_input
the input
Definition: WKS4Spreadsheet.h:142
void setListener(WKSContentListenerPtr &listen)
sets the listener
Definition: WKS4Spreadsheet.h:58
a cellule of a WKS4 spreadsheet
Definition: WKS4Spreadsheet.cpp:174
void sendSpreadsheet(int sId)
send the sId'th spreadsheet
Definition: WKS4Spreadsheet.cpp:2330
shared_ptr< WKSContentListener > m_listener
Definition: WKS4Spreadsheet.h:143
bool readMsWorksPageBreak()
reads a page break
Definition: WKS4Spreadsheet.cpp:742
Definition: WPSDebug.h:196
libwps::DebugFile & m_asciiFile
the ascii file
Definition: WKS4Spreadsheet.h:149
This class parses Microsoft Works spreadsheet or a database file.
Definition: WKS4.h:47
bool readMsWorksDOSPageBreak()
reads a page break (in a dos file)
Definition: WKS4Spreadsheet.cpp:1346
bool readMsWorksStyle()
reads a style
Definition: WKS4Spreadsheet.cpp:772
bool readHiddenColumns()
reads the list of hidden columns zone ( unused )
Definition: WKS4Spreadsheet.cpp:622
bool readFormula(long endPos, Vec2i const &pos, std::vector< WKSContentListener::FormulaInstruction > &formula, std::string &error)
Definition: WKS4Spreadsheet.cpp:1884
int getNumSpreadsheets() const
returns the number of spreadsheet
Definition: WKS4Spreadsheet.cpp:527
bool readMsWorksRowSize()
reads the row size ( in ???)
Definition: WKS4Spreadsheet.cpp:705
WKS4Spreadsheet(WKS4Parser &parser)
constructor
Definition: WKS4Spreadsheet.cpp:485
bool readMsWorksColumnSize()
reads the column size ( in ???)
Definition: WKS4Spreadsheet.cpp:666
libwps::DebugFile & ascii()
returns the debug file
Definition: WKS4Spreadsheet.h:137
bool readFilterOpen()
reads the filter's header zone 10:54
Definition: WKS4Spreadsheet.cpp:2165
WKS4Parser & m_mainParser
the listener (if set)
Definition: WKS4Spreadsheet.h:145
void sendCellContent(WKS4SpreadsheetInternal::Cell const &cell)
send the cell data
Definition: WKS4Spreadsheet.cpp:2380
shared_ptr< WKS4SpreadsheetInternal::State > m_state
the internal state
Definition: WKS4Spreadsheet.h:147
shared_ptr< WKSContentListener > WKSContentListenerPtr
shared pointer to WKSContentListener
Definition: libwps_internal.h:129
bool readReportOpen()
reads the report's header zone 17:54
Definition: WKS4Spreadsheet.cpp:2225
bool readSheetSize()
reads sheet size
Definition: WKS4Spreadsheet.cpp:538
bool readMsWorksDOSFieldProperty()
reads a field property
Definition: WKS4Spreadsheet.cpp:1185
int version() const
return the file version
Definition: WKS4Spreadsheet.cpp:501
bool readMsWorksDOSCellExtraProperty()
reads the actual cell addendum properties ( contains at least the color)
Definition: WKS4Spreadsheet.cpp:1272
shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:102
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:515
bool readCell()
reads a cell content data
Definition: WKS4Spreadsheet.cpp:1379
bool readCellFormulaResult()
reads the result of a text formula
Definition: WKS4Spreadsheet.cpp:1719
This class parses Microsoft Works spreadsheet file.
Definition: WKS4Spreadsheet.h:48
~WKS4Spreadsheet()
destructor
Definition: WKS4Spreadsheet.cpp:492
bool readFilterClose()
reads the filter's end zone 11:54
Definition: WKS4Spreadsheet.cpp:2191
bool hasLICSCharacters() const
returns the true if the file has LICS characters
Definition: WKS4Spreadsheet.cpp:508
small class use to define a formula instruction
Definition: WKSContentListener.h:56
bool readMsWorksDOSCellProperty()
reads actualCell properties
Definition: WKS4Spreadsheet.cpp:1016
bool readColumnSize()
reads the column size ( in ??? )
Definition: WKS4Spreadsheet.cpp:576
bool readReportClose()
reads the report's end zone 18:54
Definition: WKS4Spreadsheet.cpp:2296
void resetInput(RVNGInputStreamPtr input)
reset the main input
Definition: WKS4Spreadsheet.cpp:496