22 #ifndef QUATTRO_SPREADSHEET_H 23 #define QUATTRO_SPREADSHEET_H 28 #include <librevenge-stream/librevenge-stream.h> 72 int getNumSpreadsheets()
const;
74 void sendSpreadsheet(
int sId);
82 bool readSpreadsheetOpen();
84 bool readSpreadsheetClose();
94 bool readCellFormulaResult();
98 bool readSpreadsheetName();
100 bool readColumnSize();
104 bool readHiddenColumns();
107 bool readCellProperty();
109 bool readCellStyle();
111 bool readUserStyle();
116 bool readFormula(
long endPos,
Vec2i const &pos,
int sheetId,
117 std::vector<WKSContentListener::FormulaInstruction> &formula, std::string &error);
133 shared_ptr<QuattroSpreadsheetInternal::State>
m_state;
RVNGInputStreamPtr m_input
the input
Definition: QuattroSpreadsheet.h:128
int version() const
return the file version
Definition: Quattro.cpp:196
void setListener(WKSContentListenerPtr &listen)
sets the listener
Definition: QuattroSpreadsheet.h:58
shared_ptr< QuattroSpreadsheetInternal::State > m_state
the internal state
Definition: QuattroSpreadsheet.h:133
Definition: WPSDebug.h:196
libwps::DebugFile & ascii()
returns the debug file
Definition: QuattroSpreadsheet.h:123
shared_ptr< WKSContentListener > m_listener
Definition: QuattroSpreadsheet.h:129
shared_ptr< WKSContentListener > WKSContentListenerPtr
shared pointer to WKSContentListener
Definition: libwps_internal.h:115
This class parses Quattro Pro spreadsheet: .wq1 and wq2.
Definition: Quattro.h:47
shared_ptr< WKSContentListener > m_listener
Definition: Quattro.h:126
bool checkFilePosition(long pos)
return true if the pos is in the file, update the file size if need
Definition: Quattro.cpp:201
This class parses Quattro Pro DOS spreadsheet file.
Definition: QuattroSpreadsheet.h:48
friend class QuattroSpreadsheet
Definition: Quattro.h:50
WKSParser & operator=(const WKSParser &)
shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:88
bool hasLICSCharacters() const
returns the true if the file has LICS characters
Definition: Quattro.cpp:240
libwps::DebugFile m_asciiFile
the debug file
Definition: WKSParser.h:79
a cellule of a Quattro spreadsheet
Definition: QuattroSpreadsheet.cpp:139
small class use to define a formula instruction
Definition: WKSContentListener.h:56
Definition: QuattroSpreadsheet.cpp:45
libwps::DebugFile & m_asciiFile
the ascii file
Definition: QuattroSpreadsheet.h:135