27 #include <librevenge-stream/librevenge-stream.h> 55 char const *password=0);
59 void parse(librevenge::RVNGSpreadsheetInterface *documentInterface);
61 bool checkHeader(
WPSHeader *header,
bool strict=
false);
82 bool getColor(
int id,
WPSColor &color)
const;
88 shared_ptr<WKSContentListener> createListener(librevenge::RVNGSpreadsheetInterface *interface);
90 void sendHeaderFooter(
bool header);
97 bool parseFormatStream();
106 bool readZoneQuattro();
120 bool readHeaderFooter(
bool header);
123 bool readFieldName();
128 bool readChartName();
134 bool readChartFont();
137 bool readChart2Font();
140 bool readChartLimit();
143 bool readChartList();
146 bool readChartUnknown();
156 bool readWindowRecord();
164 shared_ptr<WKS4ParserInternal::State>
m_state;
Internal: namespace to define internal class of WKS4Parser.
Definition: WKS4.cpp:51
shared_ptr< WKSContentListener > m_listener
Definition: WKS4.h:163
bool hasLICSCharacters() const
returns the true if the file has LICS characters
Definition: WKS4Spreadsheet.cpp:508
Internal: the subdocument of a WPS4Parser.
Definition: WKS4.cpp:65
define the font properties
Definition: WPSFont.h:36
int version() const
return the file version
Definition: WKS4Spreadsheet.cpp:501
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:147
shared_ptr< WKS4Spreadsheet > m_spreadsheetParser
the spreadsheet manager
Definition: WKS4.h:167
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:273
bool checkFilePosition(long pos)
return true if the pos is in the file, update the file size if need
Definition: WKS4Spreadsheet.cpp:515
This class parses Microsoft Works spreadsheet file.
Definition: WKS4Spreadsheet.h:48
friend class WKS4Parser
Definition: WKS4Spreadsheet.h:51
Definition: WKSParser.h:33