27 #include <librevenge-stream/librevenge-stream.h> 61 char const *password=
nullptr);
65 void parse(
librevenge::RVNGSpreadsheetInterface *documentInterface) final;
67 bool checkHeader(
WPSHeader *header,
bool strict=false);
77 librevenge::RVNGString getFileName(
int fId) const;
79 bool getField(
int fId,
librevenge::RVNGString &text,
87 bool getColor(
int id,
WPSColor &color) const;
96 bool sendGraphics(
int sheetId,
Vec2i const &cell) const;
106 void sendHeaderFooter(
bool header);
113 bool checkHeader(std::shared_ptr<
WPSStream> stream,
bool strict);
117 bool readOLEZones(std::shared_ptr<
WPSStream> &stream);
119 bool readZone(std::shared_ptr<
WPSStream> &stream);
124 bool readFieldName(std::shared_ptr<
WPSStream> stream);
126 bool readCellPosition(std::shared_ptr<
WPSStream> stream);
128 bool readFileName(std::shared_ptr<
WPSStream> stream);
130 bool readFontDef(std::shared_ptr<
WPSStream> stream);
132 bool readColorList(std::shared_ptr<
WPSStream> stream);
134 bool readStyleName(std::shared_ptr<
WPSStream> stream);
136 bool readHeaderFooter(std::shared_ptr<
WPSStream> stream,
bool header);
138 bool readCString(std::shared_ptr<
WPSStream> stream,
librevenge::RVNGString &
string,
long maxSize);
140 bool readPageSetup(std::shared_ptr<
WPSStream> stream);
148 bool readRangeList(std::shared_ptr<
WPSStream> stream);
151 bool readZone341(std::shared_ptr<
WPSStream> stream);
158 bool readOleBOlePart(std::shared_ptr<
WPSStream> stream);
std::shared_ptr< QuattroSpreadsheetInternal::State > m_state
the internal state
Definition: QuattroSpreadsheet.h:124
Definition: WPSOLEStream.h:33
define the font properties
Definition: WPSFont.h:36
std::shared_ptr< WKSContentListener > m_listener
Definition: QuattroSpreadsheet.h:120
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:87
friend class QuattroParser
Definition: QuattroSpreadsheet.h:52
This class parses Quattro Pro spreadsheet: .wq1 and wq2.
Definition: Quattro.h:51
This class parses Quattro Pro DOS spreadsheet file.
Definition: QuattroSpreadsheet.h:49
This class parses QuattroPro graph file.
Definition: QuattroGraph.h:52
the class to store a color
Definition: libwps_internal.h:280
Internal: the subdocument of a WPS4Parser.
Definition: Quattro.cpp:72
small structure use to store a stream and it debug file
Definition: WPSStream.h:29
int version() const
return the file version
Definition: QuattroSpreadsheet.cpp:490
std::shared_ptr< WPSHeader > WPSHeaderPtr
shared pointer to WPSHeader
Definition: libwps_internal.h:109
Definition: WKSParser.h:33
Definition: WKSContentListener.h:53
Internal: namespace to define internal class of QuattroParser.
Definition: Quattro.cpp:58