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);
82 bool readReportOpen();
84 bool readReportClose();
87 bool readFilterOpen();
89 bool readFilterClose();
99 bool readCellFormulaResult();
101 bool readSheetSize();
103 bool readColumnSize();
105 bool readHiddenColumns();
108 bool readMsWorksDOSFieldProperty();
110 bool readMsWorksDOSCellProperty();
112 bool readMsWorksDOSCellExtraProperty();
114 bool readMsWorksDOSPageBreak();
117 bool readMsWorksColumnSize();
119 bool readMsWorksRowSize();
121 bool readMsWorksPageBreak();
123 bool readMsWorksStyle();
128 bool readFormula(
long endPos,
Vec2i const &pos,
129 std::vector<WKSContentListener::FormulaInstruction> &formula, std::string &error);
145 shared_ptr<WKS4SpreadsheetInternal::State>
m_state;
RVNGInputStreamPtr m_input
the input
Definition: WKS4Spreadsheet.h:140
bool checkFilePosition(long pos)
return true if the pos is in the file, update the file size if need
Definition: WKS4.cpp:226
void setListener(WKSContentListenerPtr &listen)
sets the listener
Definition: WKS4Spreadsheet.h:58
shared_ptr< WKSContentListener > m_listener
Definition: WKS4.h:155
a cellule of a WKS4 spreadsheet
Definition: WKS4Spreadsheet.cpp:173
shared_ptr< WKSContentListener > m_listener
Definition: WKS4Spreadsheet.h:141
Definition: WPSDebug.h:196
libwps::DebugFile & m_asciiFile
the ascii file
Definition: WKS4Spreadsheet.h:147
Definition: WKS4Spreadsheet.cpp:44
This class parses Microsoft Works spreadsheet or a database file.
Definition: WKS4.h:47
int version() const
return the file version
Definition: WKS4.cpp:221
libwps::DebugFile & ascii()
returns the debug file
Definition: WKS4Spreadsheet.h:135
shared_ptr< WKS4SpreadsheetInternal::State > m_state
the internal state
Definition: WKS4Spreadsheet.h:145
shared_ptr< WKSContentListener > WKSContentListenerPtr
shared pointer to WKSContentListener
Definition: libwps_internal.h:115
friend class WKS4Spreadsheet
Definition: WKS4.h:50
WKSParser & operator=(const WKSParser &)
shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:88
libwps::DebugFile m_asciiFile
the debug file
Definition: WKSParser.h:75
This class parses Microsoft Works spreadsheet file.
Definition: WKS4Spreadsheet.h:48
small class use to define a formula instruction
Definition: WKSContentListener.h:54
bool hasLICSCharacters() const
returns the true if the file has LICS characters
Definition: WKS4.cpp:270