22 #ifndef QUATTRO9_GRAPH_H
23 #define QUATTRO9_GRAPH_H
29 #include <librevenge-stream/librevenge-stream.h>
80 void storeObjects(std::map<librevenge::RVNGString,WPSEmbeddedObject>
const &nameToObjectMap);
100 bool readBeginEnd(std::shared_ptr<WPSStream> stream,
int sheetId);
106 static bool readFrameStyle(std::shared_ptr<WPSStream>
const &stream);
112 bool readOLEName(std::shared_ptr<WPSStream>
const &stream);
114 bool readShape(std::shared_ptr<WPSStream>
const &stream);
130 std::shared_ptr<Quattro9GraphInternal::State>
m_state;
bool readOLEName(std::shared_ptr< WPSStream > const &stream)
try to read the OLE name zone: 21d1
Definition: Quattro9Graph.cpp:1498
bool readTextboxText(std::shared_ptr< WPSStream > const &stream)
try to read a textbox text zone: 2372
Definition: Quattro9Graph.cpp:1554
void storeObjects(std::map< librevenge::RVNGString, WPSEmbeddedObject > const &nameToObjectMap)
stores the OLE objets
Definition: Quattro9Graph.cpp:562
bool sendShape(Quattro9GraphInternal::Graph const &graph, int sheetId) const
send a shape
Definition: Quattro9Graph.cpp:1610
WKSParser * parser() const
returns the parser
Definition: WKSSubDocument.h:44
int version() const
return the file version
Definition: Quattro9Graph.cpp:555
Quattro9Graph(Quattro9Parser &parser)
constructor
Definition: Quattro9Graph.cpp:535
Definition: Quattro9Graph.cpp:52
std::shared_ptr< WKSContentListener > m_listener
Definition: Quattro9Graph.h:126
static bool readFrameHeader(std::shared_ptr< WPSStream > const &stream)
try to read a frame header zone: 2171
Definition: Quattro9Graph.cpp:1232
Internal: a graph of a QuattroGraph.
Definition: Quattro9Graph.cpp:134
~Quattro9Graph()
destructor
Definition: Quattro9Graph.cpp:542
bool readShape(std::shared_ptr< WPSStream > const &stream)
try to read a shape zone: 2221, 23d1
Definition: Quattro9Graph.cpp:708
void setListener(WKSContentListenerPtr &listen)
sets the listener
Definition: Quattro9Graph.h:63
bool readShapeRec(std::shared_ptr< WPSStream > const &stream, long endPos, Quattro9GraphInternal::Shape &shape, WPSGraphicStyle const &actStyle)
try to read a shape sub zone: 2221, 23d1
Definition: Quattro9Graph.cpp:744
a structure used to define a picture style
Definition: WPSGraphicStyle.h:37
void cleanState()
clean internal state
Definition: Quattro9Graph.cpp:546
Quattro9Graph & operator=(Quattro9Graph const &orig)=delete
a structure used to define a picture shape
Definition: WPSGraphicShape.h:34
bool getPattern(int id, WPSGraphicStyle::Pattern &pattern) const
returns the pattern corresponding to a pattern id between 0 and 24
Definition: Quattro9Graph.cpp:571
Quattro9Parser & m_mainParser
the listener (if set)
Definition: Quattro9Graph.h:128
bool getColor(int id, WPSColor &color) const
returns the color corresponding to an id
Definition: Quattro9Graph.cpp:567
static bool readFramePattern(std::shared_ptr< WPSStream > const &stream)
try to read a frame style zone: 2141
Definition: Quattro9Graph.cpp:1276
bool sendOLE(Quattro9GraphInternal::Graph const &graph, int sheetId) const
send a OLE
Definition: Quattro9Graph.cpp:1673
Internal: the subdocument of a Quattro9GraphInternal.
Definition: Quattro9Graph.cpp:472
the class to store a color
Definition: libwps_internal.h:280
bool readBeginEndZone(std::shared_ptr< WPSStream > const &stream)
try to read a begin/end zone: 2051
Definition: Quattro9Graph.cpp:617
std::shared_ptr< Quattro9GraphInternal::State > m_state
the internal state
Definition: Quattro9Graph.h:130
static bool readFrameStyle(std::shared_ptr< WPSStream > const &stream)
try to read a frame style zone: 2131
Definition: Quattro9Graph.cpp:1311
bool readGraphHeader(std::shared_ptr< WPSStream > const &stream)
try to read a graph header zone: 2051
Definition: Quattro9Graph.cpp:659
This class parses Quattro Pro WP spreadsheet: .qpw.
Definition: Quattro9.h:89
bool sendPageGraphics(int sheetId) const
send the page graphic corresponding to a sheet
Definition: Quattro9Graph.cpp:1716
std::shared_ptr< WKSContentListener > WKSContentListenerPtr
shared pointer to WKSContentListener
Definition: libwps_internal.h:114
bool readBeginEnd(std::shared_ptr< WPSStream > stream, int sheetId)
read the begin/end graph zone: 1401/1402
Definition: Quattro9Graph.cpp:582
void updateState()
update the state (need to be called before sending data)
Definition: Quattro9Graph.cpp:551
bool sendTextbox(Quattro9GraphInternal::Graph const &graph, int sheetId) const
send a textbox
Definition: Quattro9Graph.cpp:1697
This class parses Quattro9Pro graph file.
Definition: Quattro9Graph.h:52
a basic pattern used in a WPSGraphicStyle:
Definition: WPSGraphicStyle.h:88
Internal: a shape of a Quattro9Graph.
Definition: Quattro9Graph.cpp:55
bool readTextboxStyle(std::shared_ptr< WPSStream > const &stream)
try to read a textbox style zone: 2371
Definition: Quattro9Graph.cpp:1365