22 #ifndef QUATTRO_GRAPH_H 23 #define QUATTRO_GRAPH_H 29 #include <librevenge-stream/librevenge-stream.h> 49 class QuattroStyleManager;
80 void storeObjects(std::map<librevenge::RVNGString,WPSEmbeddedObject>
const &nameToObjectMap);
82 std::vector<Vec2i> getGraphicCellsInSheet(
int sheetId)
const;
84 bool sendGraphics(
int sheetId,
Vec2i const &cell)
const;
86 bool sendPageGraphics(
int sheetId)
const;
96 std::shared_ptr<WPSStream> stream)
const;
104 bool readBeginEnd(std::shared_ptr<WPSStream> stream,
int sheetId);
106 bool readFrameOLE(std::shared_ptr<WPSStream> stream);
108 bool readImage(std::shared_ptr<WPSStream> stream);
110 bool readBitmap(std::shared_ptr<WPSStream> stream);
112 bool readChart(std::shared_ptr<WPSStream> stream);
114 bool readFrame(std::shared_ptr<WPSStream> stream);
116 bool readButton(std::shared_ptr<WPSStream> stream);
118 bool readOLEData(std::shared_ptr<WPSStream> stream);
125 bool readShape(std::shared_ptr<WPSStream> stream);
130 bool readLine(std::shared_ptr<WPSStream> stream);
132 bool readRect(std::shared_ptr<WPSStream> stream);
134 bool readPolygon(std::shared_ptr<WPSStream> stream);
136 bool readTextBox(std::shared_ptr<WPSStream> stream);
143 bool readDialog(std::shared_ptr<WPSStream> stream);
145 static bool readDialogUnknown(std::shared_ptr<WPSStream> stream);
148 bool readFillData(
WPSGraphicStyle &style,
int fillType, std::shared_ptr<WPSStream> stream,
long endPos);
156 std::shared_ptr<QuattroGraphInternal::State>
m_state;
WKSSubDocument & operator=(const WKSSubDocument &)=delete
void setListener(WKSContentListenerPtr &listen)
sets the listener
Definition: QuattroGraph.h:66
a structure used to define a picture style
Definition: WPSGraphicStyle.h:37
Internal: a graph of a QuattroGraph.
Definition: QuattroGraph.cpp:230
a dialog header
Definition: QuattroGraph.cpp:55
WKSParser * parser() const
returns the parser
Definition: WKSSubDocument.h:44
std::shared_ptr< QuattroGraphInternal::State > m_state
the internal state
Definition: QuattroGraph.h:156
This class parses Quattro Pro spreadsheet: .wb1, ..., .wb3.
Definition: Quattro.h:53
Internal: a shape of a QuattroGraph.
Definition: QuattroGraph.cpp:200
This class parses QuattroPro graph file.
Definition: QuattroGraph.h:55
std::shared_ptr< WKSContentListener > WKSContentListenerPtr
shared pointer to WKSContentListener
Definition: libwps_internal.h:114
std::shared_ptr< WKSContentListener > m_listener
Definition: QuattroGraph.h:152
Internal: the subdocument of a QuattroGraphInternal.
Definition: QuattroGraph.cpp:388
Definition: QuattroGraph.cpp:52