22 #ifndef QUATTRO_SPREADSHEET_H 23 #define QUATTRO_SPREADSHEET_H 29 #include <librevenge-stream/librevenge-stream.h> 77 int getNumSpreadsheets()
const;
79 librevenge::RVNGString getSheetName(
int id)
const;
81 void sendSpreadsheet(
int sheetId, std::vector<Vec2i>
const &listGraphicCells);
83 Vec2f getPosition(
int sheetId,
Vec2i const &cell)
const;
88 void addDLLIdName(
int id, librevenge::RVNGString
const &
name,
bool func1);
90 void addUserFormat(
int id, librevenge::RVNGString
const &name);
98 bool readCell(std::shared_ptr<WPSStream>
const &stream);
100 bool readSheetSize(std::shared_ptr<WPSStream>
const &stream);
102 bool readColumnRowDefaultSize(std::shared_ptr<WPSStream>
const &stream);
104 bool readColumnSize(std::shared_ptr<WPSStream>
const &stream);
106 bool readRowSize(std::shared_ptr<WPSStream>
const &stream);
108 bool readRowRangeSize(std::shared_ptr<WPSStream>
const &stream);
111 bool readBeginEndSheet(std::shared_ptr<WPSStream>
const &stream,
int &sheetId);
113 bool readSheetName(std::shared_ptr<WPSStream>
const &stream);
115 bool readCellStyle(std::shared_ptr<WPSStream>
const &stream);
118 bool readViewInfo(std::shared_ptr<WPSStream>
const &stream);
125 bool readCellReference(std::shared_ptr<WPSStream>
const &stream,
long endPos,
127 Vec2i const &pos=
Vec2i(0,0),
int sheetId=0)
const;
136 std::shared_ptr<QuattroSpreadsheetInternal::State>
m_state;
std::shared_ptr< QuattroSpreadsheetInternal::State > m_state
the internal state
Definition: QuattroSpreadsheet.h:136
int version() const
return the file version
Definition: Quattro.cpp:485
void setListener(WKSContentListenerPtr &listen)
sets the listener
Definition: QuattroSpreadsheet.h:61
std::shared_ptr< WKSContentListener > m_listener
Definition: QuattroSpreadsheet.h:132
This class parses Quattro Pro spreadsheet: .wb1, ..., .wb3.
Definition: Quattro.h:53
This class parses Quattro Pro spreadsheet file.
Definition: QuattroSpreadsheet.h:51
friend class QuattroSpreadsheet
Definition: Quattro.h:58
Vec2< int > Vec2i
Vec2 of int.
Definition: libwps_internal.h:702
std::shared_ptr< WKSContentListener > m_listener
Definition: Quattro.h:176
a cellule of a Quattro spreadsheet
Definition: QuattroSpreadsheet.cpp:110
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
Definition: QuattroSpreadsheet.cpp:49