28 #include <librevenge-stream/librevenge-stream.h> 63 std::string
getDebugString(std::shared_ptr<WPSStream>
const &stream)
const;
99 char const *password=
nullptr);
103 void parse(
librevenge::RVNGSpreadsheetInterface *documentInterface) final;
105 bool checkHeader(
WPSHeader *header,
bool strict=false);
115 bool getExternalFileName(
int fId,
librevenge::RVNGString &fName) const;
117 bool getField(
int fId,
librevenge::RVNGString &text,
119 librevenge::RVNGString const &fileName) const;
126 bool getFont(
int id,
WPSFont &font) const;
128 Vec2f getCellPosition(
int sheetId,
Vec2i const &cell) const;
135 bool getColor(
int id,
WPSColor &color) const;
139 bool sendPageGraphics(
int sheetId) const;
149 void sendHeaderFooter(
bool header);
156 bool checkHeader(std::shared_ptr<
WPSStream> stream,
bool strict);
160 bool readZone(std::shared_ptr<
WPSStream> &stream);
167 bool readFontNames(std::shared_ptr<
WPSStream> const &stream);
169 bool readFontStyles(std::shared_ptr<
WPSStream> const &stream);
171 bool readFilePositions(std::shared_ptr<
WPSStream> const &stream,
long (&filePos)[2]);
173 bool readDocumentFields(std::shared_ptr<
WPSStream> const &stream);
175 bool readDocumentStrings(std::shared_ptr<
WPSStream> const &stream);
180 bool readTextFontStyles(std::shared_ptr<
WPSStream> const &stream,
int dataSz,
WPSFont &font);
193 bool readOleLinkInfo(std::shared_ptr<
WPSStream> stream);
195 bool readOleBOlePart(std::shared_ptr<
WPSStream> stream);
std::shared_ptr< WKSContentListener > m_listener
Definition: Quattro9Spreadsheet.h:142
std::map< int, int > m_posFontIdMap
the position to font map(complex text)
Definition: Quattro9.h:69
bool valid(bool checkId=false) const
returns true if the zone length is positive
Definition: WPSEntry.h:87
friend class Quattro9Parser
Definition: Quattro9Spreadsheet.h:59
Definition: WPSOLEStream.h:33
define the font properties
Definition: WPSFont.h:36
librevenge::RVNGString getString(std::shared_ptr< WPSStream > const &stream, libwps_tools_win::Font::Type type=libwps_tools_win::Font::WIN3_WEUROPE) const
returns the string
Definition: Quattro9.cpp:280
Definition: Quattro9.h:42
a structure used to define a picture style
Definition: WPSGraphicStyle.h:37
bool empty() const
returns true if the string is empty
Definition: Quattro9.h:54
std::string getDebugString(std::shared_ptr< WPSStream > const &stream) const
internal: returns a debug string
Definition: Quattro9.cpp:313
int version() const
return the file version
Definition: Quattro9Spreadsheet.cpp:810
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:87
void send(std::shared_ptr< WPSStream > const &stream, WPSFont const &font, libwps_tools_win::Font::Type type, WKSContentListenerPtr &listener)
sends the text to the main listener
Definition: Quattro9.cpp:322
TextEntry()
constructor
Definition: Quattro9.h:45
This class parses Quattro9 Pro spreadsheet file.
Definition: Quattro9Spreadsheet.h:56
std::string m_extra
extra data
Definition: Quattro9.h:73
the class to store a color
Definition: libwps_internal.h:280
std::shared_ptr< Quattro9SpreadsheetInternal::State > m_state
the internal state
Definition: Quattro9Spreadsheet.h:146
This class parses Quattro Pro WP spreadsheet: .qpw.
Definition: Quattro9.h:89
WPSEntry m_entry
the text entry
Definition: Quattro9.h:65
std::shared_ptr< WKSContentListener > WKSContentListenerPtr
shared pointer to WKSContentListener
Definition: libwps_internal.h:114
void addDocumentStrings(std::shared_ptr< WPSStream > const &stream, std::vector< Quattro9ParserInternal::TextEntry > const &entries)
set the document strings list
Definition: Quattro9Spreadsheet.cpp:872
basic class to store an entry in a file This contained :
Definition: WPSEntry.h:38
Internal: the subdocument of a WPS4Parser.
Definition: Quattro9.cpp:60
Internal: namespace to define internal class of Quattro9Parser.
Definition: Quattro9.cpp:57
small structure use to store a stream and it debug file
Definition: WPSStream.h:29
std::vector< WPSFont > m_fontsList
the list of fonts
Definition: Quattro9.h:67
This class parses Quattro9Pro graph file.
Definition: Quattro9Graph.h:52
std::shared_ptr< WPSHeader > WPSHeaderPtr
shared pointer to WPSHeader
Definition: libwps_internal.h:109
Definition: WKSParser.h:33
Definition: WKSContentListener.h:53
int m_flag
the flag
Definition: Quattro9.h:71