22 #ifndef WKS4_SPREADSHEET_H 23 #define WKS4_SPREADSHEET_H 28 #include <librevenge-stream/librevenge-stream.h> 72 int getNumSpreadsheets()
const;
74 void sendSpreadsheet(
int sId);
84 bool readReportOpen();
86 bool readReportClose();
89 bool readFilterOpen();
91 bool readFilterClose();
101 bool readCellFormulaResult();
103 bool readSheetSize();
105 bool readColumnSize();
107 bool readHiddenColumns();
110 bool readMsWorksDOSFieldProperty();
112 bool readMsWorksDOSCellProperty();
114 bool readMsWorksDOSCellExtraProperty();
116 bool readMsWorksDOSPageBreak();
119 bool readMsWorksColumnSize();
121 bool readMsWorksRowSize();
123 bool readMsWorksPageBreak();
125 bool readMsWorksStyle();
130 bool readFormula(
long endPos,
Vec2i const &pos,
131 std::vector<WKSContentListener::FormulaInstruction> &formula, std::string &error);
147 std::shared_ptr<WKS4SpreadsheetInternal::State>
m_state;
RVNGInputStreamPtr m_input
the input
Definition: WKS4Spreadsheet.h:142
bool checkFilePosition(long pos)
return true if the pos is in the file, update the file size if need
Definition: WKS4.cpp:274
void setListener(WKSContentListenerPtr &listen)
sets the listener
Definition: WKS4Spreadsheet.h:58
a cellule of a WKS4 spreadsheet
Definition: WKS4Spreadsheet.cpp:186
librevenge::RVNGString getSheetName(int id) const
returns the name of the id's spreadsheet
Definition: WKS4.cpp:318
Definition: WPSDebug.h:207
libwps::DebugFile & m_asciiFile
the ascii file
Definition: WKS4Spreadsheet.h:149
std::shared_ptr< WKS4SpreadsheetInternal::State > m_state
the internal state
Definition: WKS4Spreadsheet.h:147
Definition: WKS4Spreadsheet.cpp:45
This class parses Microsoft Works spreadsheet or a database file.
Definition: WKS4.h:48
int version() const
return the file version
Definition: WKS4.cpp:256
std::shared_ptr< WKSContentListener > m_listener
Definition: WKS4Spreadsheet.h:143
std::shared_ptr< WKSContentListener > m_listener
Definition: WKS4.h:146
libwps::DebugFile & ascii()
returns the debug file
Definition: WKS4Spreadsheet.h:137
friend class WKS4Spreadsheet
Definition: WKS4.h:52
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:87
libwps::DebugFile m_asciiFile
the debug file
Definition: WKSParser.h:79
This class parses Microsoft Works spreadsheet file.
Definition: WKS4Spreadsheet.h:48
WKSParser & operator=(const WKSParser &)=delete
std::shared_ptr< WKSContentListener > WKSContentListenerPtr
shared pointer to WKSContentListener
Definition: libwps_internal.h:114
small class use to define a formula instruction
Definition: WKSContentListener.h:57
void resetInput(RVNGInputStreamPtr const &newInput)
Definition: WKSParser.h:45