27 #include <librevenge-stream/librevenge-stream.h> 74 friend class LotusParserInternal::SubDocument;
83 char const *password=
nullptr);
87 void parse(
librevenge::RVNGSpreadsheetInterface *documentInterface) final;
89 bool checkHeader(
WPSHeader *header,
bool strict=false);
95 Link() : m_name(), m_linkName()
120 std::vector<Link> getLinksList(
int lId)
const;
134 bool hasGraphics(
int sheetId)
const;
136 void sendGraphics(
int sheetId);
143 bool getLeftTopPosition(
Vec2i const &cell,
int spreadsheet,
Vec2f &pos)
const;
145 librevenge::RVNGString getSheetName(
int id)
const;
157 bool createListener(librevenge::RVNGSpreadsheetInterface *interface);
164 bool parseFormatStream();
167 bool checkHeader(std::shared_ptr<WPSStream> stream,
bool mainStream,
bool strict);
169 bool readZones(std::shared_ptr<WPSStream> stream);
171 bool readDataZone(std::shared_ptr<WPSStream> stream);
173 bool readZone(std::shared_ptr<WPSStream> &stream);
175 bool readZone1(std::shared_ptr<WPSStream> stream);
177 bool readSheetZone(std::shared_ptr<WPSStream> stream);
179 static bool readZone4(std::shared_ptr<WPSStream> stream);
181 static bool readChartZone(std::shared_ptr<WPSStream> stream);
183 static bool readRefZone(std::shared_ptr<WPSStream> stream);
185 static bool readZone7(std::shared_ptr<WPSStream> stream);
187 bool readZone8(std::shared_ptr<WPSStream> stream);
189 static bool readVersionZone(std::shared_ptr<WPSStream> stream);
191 static bool readZoneV3(std::shared_ptr<WPSStream> stream);
195 bool readMacFontName(std::shared_ptr<WPSStream> stream,
long endPos);
197 static bool readFMTStyleName(std::shared_ptr<WPSStream> stream);
199 bool readLinkZone(std::shared_ptr<WPSStream> stream);
201 bool readDocumentInfoMac(std::shared_ptr<WPSStream> stream,
long endPos);
208 static std::vector<uint8_t> retrievePasswordKeys(std::vector<uint8_t>
const &fileKeys);
211 std::shared_ptr<LotusParserInternal::State>
m_state;
std::shared_ptr< WPSOLE1Parser > m_ole1Parser
the ole1 parser
Definition: Lotus.h:222
std::string m_name
the basic name(used to retrieve a data)
Definition: Lotus.h:99
Definition: WPSOLEStream.h:33
std::shared_ptr< LotusSpreadsheet > m_spreadsheetParser
the spreadsheet manager
Definition: Lotus.h:220
This class parses Microsoft Works chart file.
Definition: LotusChart.h:53
define the font properties
Definition: WPSFont.h:36
std::shared_ptr< LotusGraph > m_graphParser
the graph manager
Definition: Lotus.h:218
friend class LotusParser
Definition: LotusStyleManager.h:50
int version() const
return the file version
Definition: LotusStyleManager.cpp:614
This class parses Microsoft Works graph file.
Definition: LotusGraph.h:55
This class parses a wk3,wk4,123 Lotus spreadsheet.
Definition: Lotus.h:72
librevenge::RVNGString m_linkName
the link name
Definition: Lotus.h:103
basic struct used to store link
Definition: Lotus.h:92
a class used to parse a container which is used by Lotus123 (and also by RagTime).
Definition: WPSOLE1Parser.h:49
a structure used to define a picture style
Definition: WPSGraphicStyle.h:37
std::shared_ptr< WKSContentListener > m_listener
Definition: Lotus.h:210
This class parses the Lotus style.
Definition: LotusStyleManager.h:47
Internal: namespace to define internal class of LotusParser.
Definition: Lotus.cpp:60
std::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:52
Link()
constructor
Definition: Lotus.h:95
small class use to define a embedded object
Definition: libwps_internal.h:1076
Class to define the position of an object (textbox, picture, ..) in the document. ...
Definition: WPSPosition.h:39
std::shared_ptr< LotusStyleManager > m_styleManager
the style manager
Definition: Lotus.h:214
std::shared_ptr< WPSHeader > WPSHeaderPtr
shared pointer to WPSHeader
Definition: libwps_internal.h:109
Definition: WKSParser.h:33
std::shared_ptr< LotusChart > m_chartParser
the chart manager
Definition: Lotus.h:216
std::shared_ptr< LotusStyleManagerInternal::State > m_state
the internal state
Definition: LotusStyleManager.h:148