22 #ifndef LOTUS_SPREADSHEET_H 23 #define LOTUS_SPREADSHEET_H 28 #include <librevenge-stream/librevenge-stream.h> 41 struct Table123Styles;
72 void setLastSpreadsheetId(
int id);
77 bool getLeftTopPosition(
Vec2i const &cell,
int spreadsheet,
Vec2f &pos);
82 bool hasSomeSpreadsheetData()
const;
85 void sendSpreadsheet(
int sheetId);
87 librevenge::RVNGString getSheetName(
int id)
const;
109 bool readSheetName(std::shared_ptr<WPSStream> stream);
111 bool readSheetName1B(std::shared_ptr<WPSStream> stream,
long endPos);
114 bool readCellsFormat801(std::shared_ptr<WPSStream> stream,
WPSVec3i const &minC,
WPSVec3i const &maxC,
int typeZone);
116 bool readColumnDefinition(std::shared_ptr<WPSStream> stream);
118 bool readColumnSizes(std::shared_ptr<WPSStream> stream);
120 bool readRowFormats(std::shared_ptr<WPSStream> stream);
124 bool readRowSizes(std::shared_ptr<WPSStream> stream,
long endPos);
127 bool readCell(std::shared_ptr<WPSStream> stream);
129 bool readCellName(std::shared_ptr<WPSStream> stream);
134 bool readSheetHeader(std::shared_ptr<WPSStream> stream);
136 bool readExtraRowFormats(std::shared_ptr<WPSStream> stream);
141 bool readNote(std::shared_ptr<WPSStream> stream,
long endPos);
148 bool readFormula(
WPSStream &stream,
long endPos,
int sId,
bool newFormula,
149 std::vector<WKSContentListener::FormulaInstruction> &formula, std::string &error);
153 static std::string getDebugStringForText(std::string
const &text);
163 std::shared_ptr<LotusSpreadsheetInternal::State>
m_state;
Internal: the subdocument of a LotusSpreadsheet.
Definition: LotusSpreadsheet.cpp:736
std::shared_ptr< LotusSpreadsheetInternal::State > m_state
the internal state
Definition: LotusSpreadsheet.h:163
a cellule of a Lotus spreadsheet
Definition: LotusSpreadsheet.cpp:210
a class used to store the styles of a table in LotusSpreadsheet in a lotus 123 files ...
Definition: LotusSpreadsheet.cpp:552
a class used to store a style of a cell in LotusSpreadsheet
Definition: LotusSpreadsheet.cpp:56
This class parses a wk3,wk4,123 Lotus spreadsheet.
Definition: Lotus.h:72
std::shared_ptr< WKSContentListener > m_listener
Definition: LotusSpreadsheet.h:157
WKSParser * parser() const
returns the parser
Definition: WKSSubDocument.h:44
This class parses the Lotus style.
Definition: LotusStyleManager.h:47
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:87
std::shared_ptr< LotusStyleManager > m_styleManager
the style manager
Definition: LotusSpreadsheet.h:161
the spreadsheet of a LotusSpreadsheet
Definition: LotusSpreadsheet.cpp:284
SubDocument & operator=(SubDocument const &)=delete
void setListener(WKSContentListenerPtr &listen)
sets the listener
Definition: LotusSpreadsheet.h:67
This class parses Microsoft Works spreadsheet file.
Definition: LotusSpreadsheet.h:52
std::shared_ptr< WKSContentListener > WKSContentListenerPtr
shared pointer to WKSContentListener
Definition: libwps_internal.h:114
basic class to store an entry in a file This contained :
Definition: WPSEntry.h:38
Definition: LotusSpreadsheet.cpp:51
small structure use to store a stream and it debug file
Definition: WPSStream.h:29
small class use to define a formula instruction
Definition: WKSContentListener.h:57