27 #include <librevenge-stream/librevenge-stream.h>
60 void parse(librevenge::RVNGSpreadsheetInterface *documentInterface);
91 shared_ptr<WKSContentListener>
createListener(librevenge::RVNGSpreadsheetInterface *interface);
126 shared_ptr<LotusParserInternal::State>
m_state;
bool checkHeader(WPSHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: Lotus.cpp:310
bool readDataZone()
parse the different zones 1B
Definition: Lotus.cpp:823
bool readZone()
reads a zone
Definition: Lotus.cpp:451
int version() const
return the file version
Definition: Lotus.cpp:183
~LotusParser()
destructor
Definition: Lotus.cpp:179
define the font properties
Definition: WPSFont.h:36
void parse(librevenge::RVNGSpreadsheetInterface *documentInterface)
called by WPSDocument to parse the file
Definition: Lotus.cpp:237
bool readDocumentInfoMac(long endPos)
reads a mac document info zone: zone 1b, then 2af8
Definition: Lotus.cpp:1408
bool readChartDefinition()
reads a chart definitions
Definition: Lotus.cpp:1480
bool readChartName()
reads the chart name or title
Definition: Lotus.cpp:1547
This class parses Microsoft Works graph file.
Definition: LotusGraph.h:50
This class parses a WK2..WK4 Lotus spreadsheet.
Definition: Lotus.h:47
bool readMacFontName(long endPos)
reads a mac font name
Definition: Lotus.cpp:1164
bool readFMTFontName()
reads a format font name
Definition: Lotus.cpp:1259
shared_ptr< WPSHeader > WPSHeaderPtr
shared pointer to WPSHeader
Definition: libwps_internal.h:108
Internal: the subdocument of a LotusParser.
Definition: Lotus.cpp:65
bool readLinkZone()
reads a link
Definition: Lotus.cpp:1310
void sendGraphics(int sheetId)
send the graphics corresponding to a sheetId
Definition: Lotus.cpp:227
This class parses the Lotus style.
Definition: LotusStyleManager.h:45
bool checkFilePosition(long pos)
return true if the pos is in the file, update the file size if need
Definition: Lotus.cpp:188
Internal: namespace to define internal class of LotusParser.
Definition: Lotus.cpp:51
shared_ptr< LotusStyleManager > m_styleManager
the style manager
Definition: Lotus.h:129
shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:87
This class parses Microsoft Works spreadsheet file.
Definition: LotusSpreadsheet.h:50
bool hasGraphics(int sheetId) const
return true if the sheet sheetId has some graphic
Definition: Lotus.cpp:222
bool readZones()
finds the different zones (spreadsheet, chart, print, ...)
Definition: Lotus.cpp:384
shared_ptr< LotusParserInternal::State > m_state
the listener (if set)
Definition: Lotus.h:127
shared_ptr< WKSContentListener > createListener(librevenge::RVNGSpreadsheetInterface *interface)
creates the main listener
Definition: Lotus.cpp:283
libwps_tools_win::Font::Type getDefaultFontType() const
returns the default font type, ie.
Definition: Lotus.cpp:204
LotusParser(RVNGInputStreamPtr &input, WPSHeaderPtr &header, libwps_tools_win::Font::Type encoding=libwps_tools_win::Font::UNKNOWN)
constructor
Definition: Lotus.cpp:168
shared_ptr< WKSContentListener > m_listener
Definition: Lotus.h:125
Definition: WKSParser.h:33
shared_ptr< LotusGraph > m_graphParser
the graph manager
Definition: Lotus.h:131
shared_ptr< LotusSpreadsheet > m_spreadsheetParser
the spreadsheet manager
Definition: Lotus.h:133
bool getFont(int id, WPSFont &font, libwps_tools_win::Font::Type &type) const
returns the font corresponding to an id
Definition: Lotus.cpp:209