22 #ifndef WKS4_SPREADSHEET_H 23 #define WKS4_SPREADSHEET_H 28 #include <librevenge-stream/librevenge-stream.h> 74 int getNumSpreadsheets()
const;
76 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 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:246
void setListener(WKSContentListenerPtr &listen)
sets the listener
Definition: WKS4Spreadsheet.h:58
shared_ptr< WKSContentListener > m_listener
Definition: WKS4.h:163
a cellule of a WKS4 spreadsheet
Definition: WKS4Spreadsheet.cpp:174
shared_ptr< WKSContentListener > m_listener
Definition: WKS4Spreadsheet.h:143
Definition: WPSDebug.h:196
libwps::DebugFile & m_asciiFile
the ascii file
Definition: WKS4Spreadsheet.h:149
Definition: WKS4Spreadsheet.cpp:45
This class parses Microsoft Works spreadsheet or a database file.
Definition: WKS4.h:47
int version() const
return the file version
Definition: WKS4.cpp:234
void resetInput(RVNGInputStreamPtr newInput)
Definition: WKSParser.h:45
libwps::DebugFile & ascii()
returns the debug file
Definition: WKS4Spreadsheet.h:137
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
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:102
libwps::DebugFile m_asciiFile
the debug file
Definition: WKSParser.h:79
This class parses Microsoft Works spreadsheet file.
Definition: WKS4Spreadsheet.h:48
small class use to define a formula instruction
Definition: WKSContentListener.h:56
bool hasLICSCharacters() const
returns the true if the file has LICS characters
Definition: WKS4.cpp:290