22 #ifndef QUATTRO_DOS_SPREADSHEET_H 23 #define QUATTRO_DOS_SPREADSHEET_H 29 #include <librevenge-stream/librevenge-stream.h> 73 int getNumSpreadsheets()
const;
77 void sendSpreadsheet(
int sId, std::map<Vec2i,Vec2i>
const &chartCellMap);
85 bool readSpreadsheetOpen();
87 bool readSpreadsheetClose();
97 bool readCellFormulaResult();
101 bool readSpreadsheetName();
103 bool readColumnSize();
107 bool readHiddenColumns();
110 bool readCellProperty();
112 bool readCellStyle();
114 bool readUserStyle();
119 bool readFormula(
long endPos,
Vec2i const &pos,
int sheetId,
120 std::vector<WKSContentListener::FormulaInstruction> &formula, std::string &error);
136 std::shared_ptr<QuattroDosSpreadsheetInternal::State>
m_state;
Vec2< float > Vec2f
Vec2 of float.
Definition: libwps_internal.h:704
Definition: QuattroDosSpreadsheet.cpp:45
bool hasLICSCharacters() const
returns the true if the file has LICS characters
Definition: QuattroDos.cpp:268
This class parses Quattro Pro spreadsheet: .wq1 and wq2.
Definition: QuattroDos.h:48
std::shared_ptr< WKSContentListener > m_listener
Definition: QuattroDosSpreadsheet.h:132
Definition: WPSDebug.h:207
int version() const
return the file version
Definition: QuattroDos.cpp:211
librevenge::RVNGString getSheetName(int id) const
returns the name of the id's spreadsheet
Definition: QuattroDos.cpp:245
libwps::DebugFile & ascii()
returns the debug file
Definition: QuattroDosSpreadsheet.h:126
std::shared_ptr< QuattroDosSpreadsheetInternal::State > m_state
the internal state
Definition: QuattroDosSpreadsheet.h:136
libwps::DebugFile & m_asciiFile
the ascii file
Definition: QuattroDosSpreadsheet.h:138
RVNGInputStreamPtr m_input
the input
Definition: QuattroDosSpreadsheet.h:131
This class parses Quattro Pro DOS spreadsheet file.
Definition: QuattroDosSpreadsheet.h:49
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:87
void setListener(WKSContentListenerPtr &listen)
sets the listener
Definition: QuattroDosSpreadsheet.h:59
a cellule of a Quattro spreadsheet
Definition: QuattroDosSpreadsheet.cpp:144
bool checkFilePosition(long pos)
return true if the pos is in the file, update the file size if need
Definition: QuattroDos.cpp:216
friend class QuattroDosSpreadsheet
Definition: QuattroDos.h:52
libwps::DebugFile m_asciiFile
the debug file
Definition: WKSParser.h:79
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
std::shared_ptr< WKSContentListener > m_listener
Definition: QuattroDos.h:136