44#include <librevenge/librevenge.h>
100 bool readShapes(
int numShapes,
unsigned long shapeLength,
unsigned long dataLength);
102 bool readShape(
int n, std::vector<MWAWEntry>
const &dataZonesList);
155 std::shared_ptr<CanvasGraphInternal::State>
m_state;
Internal: the subdocument of a CanvasGraph.
Definition CanvasGraph.cxx:376
bool getBitmapBW(CanvasGraphInternal::Shape const &shape, MWAWEmbeddedObject &obj)
tries to read a bitmap stored in the rectangle's data
Definition CanvasGraph.cxx:1236
bool readShapeData(CanvasGraphInternal::Shape &shape)
try to read the shapes data
Definition CanvasGraph.cxx:734
bool getBitmap(CanvasGraphInternal::Shape const &shape, MWAWEmbeddedObject &obj)
tries to read the color bitmap stored in 55's shape: v3.5
Definition CanvasGraph.cxx:1073
MWAWParserStatePtr m_parserState
the parser state
Definition CanvasGraph.hxx:152
void checkUnsent() const
look for unsent shapes in debug mode
Definition CanvasGraph.cxx:1498
CanvasGraph(CanvasGraph const &orig)=delete
bool sendSpecial(CanvasGraphInternal::Shape const &shape, CanvasGraphInternal::LocalTransform const &local)
tries to send the special content
Definition CanvasGraph.cxx:2564
void update(CanvasGraphInternal::Shape const &shape, MWAWGraphicStyle &style) const
updates the style corresponding to a shape
Definition CanvasGraph.cxx:1520
MWAWInputStreamPtr & getInput()
returns the current input
Definition CanvasGraph.cxx:475
CanvasGraph(CanvasParser &parser)
constructor
Definition CanvasGraph.cxx:453
virtual ~CanvasGraph()
destructor
Definition CanvasGraph.cxx:461
std::shared_ptr< CanvasGraphInternal::State > m_state
the state
Definition CanvasGraph.hxx:155
CanvasGraph & operator=(CanvasGraph const &orig)=delete
int version() const
returns the file version
Definition CanvasGraph.cxx:465
bool getPicture(CanvasGraphInternal::Shape const &shape, MWAWEmbeddedObject &obj)
tries to read a picture stored in the picture's data
Definition CanvasGraph.cxx:1436
void markSent(int id)
mark the id's shape as read in debug mode
Definition CanvasGraph.cxx:1480
std::shared_ptr< CanvasStyleManager > m_styleManager
the style manager
Definition CanvasGraph.hxx:160
CanvasParser * m_mainParser
the main parser;
Definition CanvasGraph.hxx:158
bool readShape(int n, std::vector< MWAWEntry > const &dataZonesList)
try to read a shape: to do
Definition CanvasGraph.cxx:592
bool readShapes(int numShapes, unsigned long shapeLength, unsigned long dataLength)
try to read the shapes: in fact, the compression header + the list of shapes
Definition CanvasGraph.cxx:500
bool sendMultiLines(CanvasGraphInternal::Shape const &shape, CanvasGraphInternal::LocalTransform const &local)
tries the multiligne's special shape: Palm
Definition CanvasGraph.cxx:2246
bool send(CanvasGraphInternal::Shape const &shape, CanvasGraphInternal::LocalTransform const *local=nullptr, int depth=0)
tries to send a shape
Definition CanvasGraph.cxx:1599
bool sendText(CanvasGraphInternal::Shape const &shape)
tries to send the text of a text's shape
Definition CanvasGraph.cxx:2786
friend class CanvasParser
Definition CanvasGraph.hxx:73
bool sendDimension(CanvasGraphInternal::Shape const &shape, CanvasGraphInternal::LocalTransform const &local)
tries the dimension line's special shape: DIMN
Definition CanvasGraph.cxx:1914
bool readFileBitmap(long length)
tries to read the file bitmap: windows v3.5
Definition CanvasGraph.cxx:1341
void setInput(MWAWInputStreamPtr &input)
store the actual input
Definition CanvasGraph.cxx:470
bool sendShape(int id)
tries to send a shape with id
Definition CanvasGraph.cxx:480
the main class to read a Canvas 2 and 3 files
Definition CanvasParser.hxx:62
the main class to read the style part of Canvas file
Definition CanvasStyleManager.hxx:67
a structure used to define a picture style
Definition MWAWGraphicStyle.hxx:48
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition libmwaw_internal.hxx:557
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition libmwaw_internal.hxx:551
Internal: the structures of a CanvasGraph.
Definition CanvasGraph.cxx:66
Internal: the shape of a CanvasGraph.
Definition CanvasGraph.cxx:71
Internal: the state of a CanvasGraph.
Definition CanvasGraph.cxx:354
small class use to define a embedded object
Definition libmwaw_internal.hxx:467