22 #ifndef QUATTRO_DOS_SPREADSHEET_H 23 #define QUATTRO_DOS_SPREADSHEET_H 29 #include <librevenge-stream/librevenge-stream.h> 71 int getNumSpreadsheets()
const;
75 void sendSpreadsheet(
int sId, std::map<Vec2i,Vec2i>
const &chartCellMap);
83 bool readSpreadsheetOpen();
85 bool readSpreadsheetClose();
95 bool readCellFormulaResult();
99 bool readSpreadsheetName();
101 bool readColumnSize();
105 bool readHiddenColumns();
108 bool readCellProperty();
110 bool readCellStyle();
112 bool readUserStyle();
117 bool readFormula(
long endPos,
Vec2i const &pos,
int sheetId,
118 std::vector<WKSContentListener::FormulaInstruction> &formula, std::string &error);
134 std::shared_ptr<QuattroDosSpreadsheetInternal::State>
m_state;
Vec2< float > Vec2f
Vec2 of float.
Definition: libwps_internal.h:704
Definition: QuattroDosSpreadsheet.cpp:45
This class parses Quattro Pro spreadsheet: .wq1 and wq2.
Definition: QuattroDos.h:48
std::shared_ptr< WKSContentListener > m_listener
Definition: QuattroDosSpreadsheet.h:130
Definition: WPSDebug.h:207
int version() const
return the file version
Definition: QuattroDos.cpp:223
librevenge::RVNGString getSheetName(int id) const
returns the name of the id's spreadsheet
Definition: QuattroDos.cpp:257
libwps::DebugFile & ascii()
returns the debug file
Definition: QuattroDosSpreadsheet.h:124
std::shared_ptr< QuattroDosSpreadsheetInternal::State > m_state
the internal state
Definition: QuattroDosSpreadsheet.h:134
libwps::DebugFile & m_asciiFile
the ascii file
Definition: QuattroDosSpreadsheet.h:136
RVNGInputStreamPtr m_input
the input
Definition: QuattroDosSpreadsheet.h:129
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:151
bool checkFilePosition(long pos)
return true if the pos is in the file, update the file size if need
Definition: QuattroDos.cpp:228
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:134