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);
107 bool readSheetName(shared_ptr<WPSStream> stream);
109 bool readSheetName1B(shared_ptr<WPSStream> stream,
long endPos);
112 bool readCellsFormat801(shared_ptr<WPSStream> stream,
WPSVec3i const &minC,
WPSVec3i const &maxC,
int typeZone);
114 bool readColumnDefinition(shared_ptr<WPSStream> stream);
116 bool readColumnSizes(shared_ptr<WPSStream> stream);
118 bool readRowFormats(shared_ptr<WPSStream> stream);
122 bool readRowSizes(shared_ptr<WPSStream> stream,
long endPos);
125 bool readCell(shared_ptr<WPSStream> stream);
127 bool readCellName(shared_ptr<WPSStream> stream);
132 bool readSheetHeader(shared_ptr<WPSStream> stream);
134 bool readExtraRowFormats(shared_ptr<WPSStream> stream);
139 bool readNote(shared_ptr<WPSStream> stream,
long endPos);
146 bool readFormula(
WPSStream &stream,
long endPos,
int sId,
bool newFormula,
147 std::vector<WKSContentListener::FormulaInstruction> &formula, std::string &error);
150 static std::string getDebugStringForText(std::string
const &text);
160 shared_ptr<LotusSpreadsheetInternal::State>
m_state;
shared_ptr< WKSContentListener > m_listener
Definition: LotusSpreadsheet.h:154
Internal: the subdocument of a LotusSpreadsheet.
Definition: LotusSpreadsheet.cpp:692
a cellule of a Lotus spreadsheet
Definition: LotusSpreadsheet.cpp:194
a class used to store the styles of a table in LotusSpreadsheet in a lotus 123 files ...
Definition: LotusSpreadsheet.cpp:518
a class used to store a style of a cell in LotusSpreadsheet
Definition: LotusSpreadsheet.cpp:55
This class parses a WK2..WK4 Lotus spreadsheet.
Definition: Lotus.h:66
SubDocument & operator=(SubDocument const &)
WKSParser * parser() const
returns the parser
Definition: WKSSubDocument.h:44
shared_ptr< WKSContentListener > WKSContentListenerPtr
shared pointer to WKSContentListener
Definition: libwps_internal.h:129
This class parses the Lotus style.
Definition: LotusStyleManager.h:47
the spreadsheet of a LotusSpreadsheet
Definition: LotusSpreadsheet.cpp:258
shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:102
void setListener(WKSContentListenerPtr &listen)
sets the listener
Definition: LotusSpreadsheet.h:67
This class parses Microsoft Works spreadsheet file.
Definition: LotusSpreadsheet.h:52
shared_ptr< LotusSpreadsheetInternal::State > m_state
the internal state
Definition: LotusSpreadsheet.h:160
shared_ptr< LotusStyleManager > m_styleManager
the style manager
Definition: LotusSpreadsheet.h:158
basic class to store an entry in a file This contained :
Definition: WPSEntry.h:38
Definition: LotusSpreadsheet.cpp:50
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:56