27 #include <librevenge-stream/librevenge-stream.h> 40 namespace MultiplanParserInternal
55 char const *password=
nullptr);
59 void parse(librevenge::RVNGSpreadsheetInterface *documentInterface)
final;
61 bool checkHeader(
WPSHeader *header,
bool strict=
false);
65 bool checkFilePosition(
long pos);
74 std::shared_ptr<WKSContentListener> createListener(librevenge::RVNGSpreadsheetInterface *interface);
76 bool sendSpreadsheet();
78 bool sendCell(
Vec2i const &cellPos,
int pos);
87 bool readColumnsWidth();
91 bool readZonesListV2();
93 bool readCellDataPosition(
WPSEntry const &entry);
97 bool readFilename(
int pos, librevenge::RVNGString &filename);
103 bool readFunctionNamesList();
108 bool checkPassword(
char const *password)
const;
112 bool retrievePasswordKeys();
122 bool readDouble(
double &value);
124 bool readFormula(
Vec2i const &cellPos, std::vector<WKSContentListener::FormulaInstruction> &formula,
long endPos, std::string &extra);
126 bool readFormulaV2(
Vec2i const &cellPos, std::vector<WKSContentListener::FormulaInstruction> &formula,
long endPos, std::string &extra);
129 std::shared_ptr<MultiplanParserInternal::State> m_state;
Definition: libwps_internal.cpp:38
This class parses Microsoft Multiplan DOS spreadsheet v1.
Definition: Multiplan.h:49
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:87
std::shared_ptr< WKSContentListener > m_listener
Definition: Multiplan.h:128
small class use to define a sheet cell content
Definition: WKSContentListener.h:99
basic class to store an entry in a file This contained :
Definition: WPSEntry.h:38
small class use to define a formula instruction
Definition: WKSContentListener.h:57
std::shared_ptr< WPSHeader > WPSHeaderPtr
shared pointer to WPSHeader
Definition: libwps_internal.h:109
Definition: WKSParser.h:33