22 #ifndef LOTUS_SPREADSHEET_H 23 #define LOTUS_SPREADSHEET_H 28 #include <librevenge-stream/librevenge-stream.h> 69 void setLastSpreadsheetId(
int id);
76 bool hasSomeSpreadsheetData()
const;
79 void sendSpreadsheet(
int sheetId);
100 bool readColumnDefinition();
102 bool readColumnSizes();
104 bool readRowFormats();
108 bool readRowSizes(
long endPos);
120 bool readFormula(
long endPos,
int sId,
bool newFormula,
121 std::vector<WKSContentListener::FormulaInstruction> &formula, std::string &error);
138 shared_ptr<LotusSpreadsheetInternal::State>
m_state;
libwps::DebugFile & ascii()
returns the debug file
Definition: LotusSpreadsheet.h:126
shared_ptr< WKSContentListener > m_listener
Definition: LotusSpreadsheet.h:132
Definition: WPSDebug.h:196
a cellule of a Lotus spreadsheet
Definition: LotusSpreadsheet.cpp:117
int version() const
return the file version
Definition: Lotus.cpp:183
a class used to store a style of a cell in LotusSpreadsheet
Definition: LotusSpreadsheet.cpp:52
This class parses a WK2..WK4 Lotus spreadsheet.
Definition: Lotus.h:47
shared_ptr< WKSContentListener > WKSContentListenerPtr
shared pointer to WKSContentListener
Definition: libwps_internal.h:113
This class parses the Lotus style.
Definition: LotusStyleManager.h:45
bool checkFilePosition(long pos)
return true if the pos is in the file, update the file size if need
Definition: Lotus.cpp:188
the spreadsheet of a LotusSpreadsheet
Definition: LotusSpreadsheet.cpp:178
WKSParser & operator=(const WKSParser &)
shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:87
void setListener(WKSContentListenerPtr &listen)
sets the listener
Definition: LotusSpreadsheet.h:64
This class parses Microsoft Works spreadsheet file.
Definition: LotusSpreadsheet.h:50
libwps::DebugFile m_asciiFile
the debug file
Definition: WKSParser.h:75
libwps::DebugFile & m_asciiFile
the ascii file
Definition: LotusSpreadsheet.h:140
shared_ptr< LotusSpreadsheetInternal::State > m_state
the internal state
Definition: LotusSpreadsheet.h:138
shared_ptr< LotusStyleManager > m_styleManager
the style manager
Definition: LotusSpreadsheet.h:136
RVNGInputStreamPtr m_input
the input
Definition: LotusSpreadsheet.h:131
Definition: LotusSpreadsheet.cpp:47
small class use to define a formula instruction
Definition: WKSContentListener.h:54
shared_ptr< WKSContentListener > m_listener
Definition: Lotus.h:125
friend class LotusSpreadsheet
Definition: Lotus.h:51