27 #include <librevenge-stream/librevenge-stream.h> 58 void parse(librevenge::RVNGSpreadsheetInterface *documentInterface);
60 bool checkHeader(
WPSHeader *header,
bool strict=
false);
81 bool getColor(
int id,
WPSColor &color)
const;
87 shared_ptr<WKSContentListener> createListener(librevenge::RVNGSpreadsheetInterface *interface);
89 void sendHeaderFooter(
bool header);
96 bool parseFormatStream();
103 bool readZoneQuattro();
117 bool readHeaderFooter(
bool header);
120 bool readFieldName();
125 bool readChartName();
131 bool readChartFont();
134 bool readChart2Font();
137 bool readChartLimit();
140 bool readChartList();
143 bool readChartUnknown();
148 bool readWindowRecord();
156 shared_ptr<WKS4ParserInternal::State>
m_state;
Internal: namespace to define internal class of WKS4Parser.
Definition: WKS4.cpp:50
shared_ptr< WKSContentListener > m_listener
Definition: WKS4.h:155
bool hasLICSCharacters() const
returns the true if the file has LICS characters
Definition: WKS4Spreadsheet.cpp:485
Internal: the subdocument of a WPS4Parser.
Definition: WKS4.cpp:64
define the font properties
Definition: WPSFont.h:36
int version() const
return the file version
Definition: WKS4Spreadsheet.cpp:478
This class parses Microsoft Works spreadsheet or a database file.
Definition: WKS4.h:47
shared_ptr< WPSHeader > WPSHeaderPtr
shared pointer to WPSHeader
Definition: libwps_internal.h:110
shared_ptr< WKS4SpreadsheetInternal::State > m_state
the internal state
Definition: WKS4Spreadsheet.h:145
shared_ptr< WKS4Spreadsheet > m_spreadsheetParser
the spreadsheet manager
Definition: WKS4.h:159
WPSCreator
Definition: WPSDocument.h:48
shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:88
the class to store a color
Definition: libwps_internal.h:268
bool checkFilePosition(long pos)
return true if the pos is in the file, update the file size if need
Definition: WKS4Spreadsheet.cpp:492
This class parses Microsoft Works spreadsheet file.
Definition: WKS4Spreadsheet.h:48
friend class WKS4Parser
Definition: WKS4Spreadsheet.h:51
Definition: WKSParser.h:33