27 #include <librevenge-stream/librevenge-stream.h>
35 namespace QuattroParserInternal
58 void parse(librevenge::RVNGSpreadsheetInterface *documentInterface);
84 shared_ptr<WKSContentListener>
createListener(librevenge::RVNGSpreadsheetInterface *interface);
127 shared_ptr<QuattroParserInternal::State>
m_state;
bool readChartDef()
reads a structure which seems to define a chart
Definition: Quattro.cpp:981
shared_ptr< QuattroSpreadsheet > m_spreadsheetParser
the spreadsheet manager
Definition: Quattro.h:130
define the font properties
Definition: WPSFont.h:36
bool readWindowRecord()
reads windows record 0:7|0:9
Definition: Quattro.cpp:1111
void parse(librevenge::RVNGSpreadsheetInterface *documentInterface)
called by WPSDocument to parse the file
Definition: Quattro.cpp:248
bool readUserFonts()
reads the user fonts
Definition: Quattro.cpp:764
bool hasLICSCharacters() const
returns the true if the file has LICS characters
Definition: Quattro.cpp:240
bool getFont(int id, WPSFont &font, libwps_tools_win::Font::Type &type) const
returns the font corresponding to an id
Definition: Quattro.cpp:227
shared_ptr< WPSHeader > WPSHeaderPtr
shared pointer to WPSHeader
Definition: libwps_internal.h:124
bool readZones()
finds the different zones (spreadsheet, chart, print, ...)
Definition: Quattro.cpp:388
shared_ptr< WKSContentListener > createListener(librevenge::RVNGSpreadsheetInterface *interface)
creates the main listener
Definition: Quattro.cpp:292
bool readChartName()
reads the chart name or title
Definition: Quattro.cpp:1068
QuattroParser(RVNGInputStreamPtr &input, WPSHeaderPtr &header, libwps_tools_win::Font::Type encoding=libwps_tools_win::Font::UNKNOWN)
constructor
Definition: Quattro.cpp:183
shared_ptr< QuattroParserInternal::State > m_state
the listener (if set)
Definition: Quattro.h:128
int version() const
return the file version
Definition: Quattro.cpp:196
libwps_tools_win::Font::Type getDefaultFontType() const
returns the default font type, ie.
Definition: Quattro.cpp:214
This class parses Quattro Pro spreadsheet: .wq1 and wq2.
Definition: Quattro.h:47
shared_ptr< WKSContentListener > m_listener
Definition: Quattro.h:126
bool checkFilePosition(long pos)
return true if the pos is in the file, update the file size if need
Definition: Quattro.cpp:201
This class parses Quattro Pro DOS spreadsheet file.
Definition: QuattroSpreadsheet.h:48
bool readFieldName()
read a list of field name + ...
Definition: Quattro.cpp:914
shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:102
the class to store a color
Definition: libwps_internal.h:287
Internal: the subdocument of a WPS4Parser.
Definition: Quattro.cpp:63
bool checkHeader(WPSHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: Quattro.cpp:317
~QuattroParser()
destructor
Definition: Quattro.cpp:192
bool readUnknown1()
reads some unknown spreadsheet zones 0:18|0:19|0:20|0:27|0:2a
Definition: Quattro.cpp:1160
bool getColor(int id, WPSColor &color) const
returns the color corresponding to an id
Definition: Quattro.cpp:222
bool readHeaderFooter(bool header)
reads the header/footer
Definition: Quattro.cpp:862
Definition: WKSParser.h:33
bool readZone()
reads a zone
Definition: Quattro.cpp:425
void sendHeaderFooter(bool header)
send the header/footer
Definition: Quattro.cpp:834