27 #include <librevenge-stream/librevenge-stream.h> 63 char const *password=
nullptr);
67 void parse(
librevenge::RVNGSpreadsheetInterface *documentInterface) final;
69 bool checkHeader(
WPSHeader *header,
bool strict=false);
79 bool getExternalFileName(
int fId,
librevenge::RVNGString &fName) const;
81 bool getField(
int fId,
librevenge::RVNGString &text,
90 bool getColor(
int id,
WPSColor &color) const;
94 Vec2f getCellPosition(
int sheetId,
Vec2i const &cell) const;
101 bool sendPageGraphics(
int sheetId) const;
103 bool sendGraphics(
int sheetId,
Vec2i const &cell) const;
113 void sendHeaderFooter(
bool header);
120 bool checkHeader(std::shared_ptr<
WPSStream> stream,
bool strict);
124 bool readOLEZones(std::shared_ptr<
WPSStream> &stream);
126 bool readZone(std::shared_ptr<
WPSStream> &stream);
131 bool readFieldName(std::shared_ptr<
WPSStream> stream);
133 static
bool readCellPosition(std::shared_ptr<
WPSStream> stream);
135 bool readExternalData(std::shared_ptr<
WPSStream> stream);
137 bool readFontDef(std::shared_ptr<
WPSStream> stream);
139 bool readColorList(std::shared_ptr<
WPSStream> stream);
141 bool readStyleName(std::shared_ptr<
WPSStream> stream);
143 bool readHeaderFooter(std::shared_ptr<
WPSStream> stream,
bool header);
145 bool readPaneAttribute(std::shared_ptr<
WPSStream> stream);
147 bool readOptimizer(std::shared_ptr<
WPSStream> stream);
149 bool readQueryCommand(std::shared_ptr<
WPSStream> stream);
151 static
bool readSerieExtension(std::shared_ptr<
WPSStream> stream);
153 bool readCString(std::shared_ptr<
WPSStream> stream,
librevenge::RVNGString &
string,
long maxSize);
158 bool readBlockList(std::shared_ptr<
WPSStream> stream);
160 bool readZone341(std::shared_ptr<
WPSStream> stream);
169 static
bool readOleBOlePart(std::shared_ptr<
WPSStream> stream);
std::shared_ptr< QuattroSpreadsheetInternal::State > m_state
the internal state
Definition: QuattroSpreadsheet.h:136
Definition: WPSOLEStream.h:33
define the font properties
Definition: WPSFont.h:36
std::shared_ptr< WKSContentListener > m_listener
Definition: QuattroSpreadsheet.h:132
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:87
friend class QuattroParser
Definition: QuattroSpreadsheet.h:54
This class parses Quattro Pro spreadsheet: .wb1, ..., .wb3.
Definition: Quattro.h:53
This class parses Quattro Pro spreadsheet file.
Definition: QuattroSpreadsheet.h:51
This class parses QuattroPro graph file.
Definition: QuattroGraph.h:55
the class to store a color
Definition: libwps_internal.h:280
Internal: the subdocument of a WPS4Parser.
Definition: Quattro.cpp:80
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:560
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:59