22 #ifndef QUATTRO_DOS_SPREADSHEET_H
23 #define QUATTRO_DOS_SPREADSHEET_H
29 #include <librevenge-stream/librevenge-stream.h>
75 void sendSpreadsheet(
int sId, std::map<Vec2i,Vec2i>
const &chartCellMap);
118 std::vector<WKSContentListener::FormulaInstruction> &formula, std::string &error);
134 std::shared_ptr<QuattroDosSpreadsheetInternal::State>
m_state;
bool readHiddenColumns()
reads the list of hidden columns zone ( unused )
Definition: QuattroDosSpreadsheet.cpp:760
bool readSpreadsheetName()
reads a sheet name (zone 0xde), unused...
Definition: QuattroDosSpreadsheet.cpp:1626
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
bool readCellStyle()
reads a Quattro Pro cell styles (zone 0xd8)
Definition: QuattroDosSpreadsheet.cpp:801
void sendCellContent(QuattroDosSpreadsheetInternal::Cell const &cell, int cellChartSheetId=-1, Vec2f const &chartSize=Vec2f())
send the cell data
Definition: QuattroDosSpreadsheet.cpp:2263
bool checkFilePosition(long pos)
return true if the pos is in the file, update the file size if need
Definition: QuattroDosSpreadsheet.cpp:612
bool readCell()
reads a cell content data
Definition: QuattroDosSpreadsheet.cpp:1388
void sendSpreadsheet(int sId, std::map< Vec2i, Vec2i > const &chartCellMap)
send the sId'th spreadsheet
Definition: QuattroDosSpreadsheet.cpp:2210
libwps::DebugFile & ascii()
returns the debug file
Definition: QuattroDosSpreadsheet.h:124
int getNumSpreadsheets() const
returns the number of spreadsheet
Definition: QuattroDosSpreadsheet.cpp:624
bool readUserStyle()
reads a Quattro Pro style ( zone 0xc9)
Definition: QuattroDosSpreadsheet.cpp:1129
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
QuattroDosSpreadsheet & operator=(QuattroDosSpreadsheet const &orig)=delete
bool readSpreadsheetOpen()
reads a sheet header zone 0:dc (Quattro Pro wq2)
Definition: QuattroDosSpreadsheet.cpp:1654
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
bool readFormula(long endPos, Vec2i const &pos, int sheetId, std::vector< WKSContentListener::FormulaInstruction > &formula, std::string &error)
Definition: QuattroDosSpreadsheet.cpp:1856
int version() const
return the file version
Definition: QuattroDosSpreadsheet.cpp:605
void setListener(WKSContentListenerPtr &listen)
sets the listener
Definition: QuattroDosSpreadsheet.h:59
a cellule of a Quattro spreadsheet
Definition: QuattroDosSpreadsheet.cpp:151
QuattroDosSpreadsheet(QuattroDosParser &parser)
constructor
Definition: QuattroDosSpreadsheet.cpp:592
bool readSpreadsheetClose()
reads a sheet header zone 0:dd (Quattro Pro wq2)
Definition: QuattroDosSpreadsheet.cpp:1694
bool readRowSize()
reads the column size ( in points )
Definition: QuattroDosSpreadsheet.cpp:681
bool readColumnSize()
reads the column size ( in ??? )
Definition: QuattroDosSpreadsheet.cpp:714
~QuattroDosSpreadsheet()
destructor
Definition: QuattroDosSpreadsheet.cpp:601
bool readCellFormulaResult()
reads the result of a text formula
Definition: QuattroDosSpreadsheet.cpp:1585
std::shared_ptr< WKSContentListener > WKSContentListenerPtr
shared pointer to WKSContentListener
Definition: libwps_internal.h:114
QuattroDosParser & m_mainParser
the listener (if set)
Definition: QuattroDosSpreadsheet.h:132
small class use to define a formula instruction
Definition: WKSContentListener.h:57
librevenge::RVNGString getSheetName(int id) const
returns the name of the id's spreadsheet
Definition: QuattroDosSpreadsheet.cpp:629
bool readCellProperty()
reads a Quattro Pro property (zone 0x9d)
Definition: QuattroDosSpreadsheet.cpp:989
bool readSheetSize()
reads sheet size
Definition: QuattroDosSpreadsheet.cpp:640