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:373
the main class to read the graphic part of Canvas file
Definition: CanvasGraph.hxx:71
bool getBitmapBW(CanvasGraphInternal::Shape const &shape, MWAWEmbeddedObject &obj)
tries to read a bitmap stored in the rectangle's data
Definition: CanvasGraph.cxx:1233
bool readShapeData(CanvasGraphInternal::Shape &shape)
try to read the shapes data
Definition: CanvasGraph.cxx:731
bool getBitmap(CanvasGraphInternal::Shape const &shape, MWAWEmbeddedObject &obj)
tries to read the color bitmap stored in 55's shape: v3.5
Definition: CanvasGraph.cxx:1070
MWAWParserStatePtr m_parserState
the parser state
Definition: CanvasGraph.hxx:152
void checkUnsent() const
look for unsent shapes in debug mode
Definition: CanvasGraph.cxx:1495
CanvasGraph(CanvasGraph const &orig)=delete
bool sendSpecial(CanvasGraphInternal::Shape const &shape, CanvasGraphInternal::LocalTransform const &local)
tries to send the special content
Definition: CanvasGraph.cxx:2557
void update(CanvasGraphInternal::Shape const &shape, MWAWGraphicStyle &style) const
updates the style corresponding to a shape
Definition: CanvasGraph.cxx:1517
MWAWInputStreamPtr & getInput()
returns the current input
Definition: CanvasGraph.cxx:472
virtual ~CanvasGraph()
destructor
Definition: CanvasGraph.cxx:458
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:462
bool getPicture(CanvasGraphInternal::Shape const &shape, MWAWEmbeddedObject &obj)
tries to read a picture stored in the picture's data
Definition: CanvasGraph.cxx:1433
void markSent(int id)
mark the id's shape as read in debug mode
Definition: CanvasGraph.cxx:1477
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:589
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:497
bool sendMultiLines(CanvasGraphInternal::Shape const &shape, CanvasGraphInternal::LocalTransform const &local)
tries the multiligne's special shape: Palm
Definition: CanvasGraph.cxx:2239
bool sendText(CanvasGraphInternal::Shape const &shape)
tries to send the text of a text's shape
Definition: CanvasGraph.cxx:2779
bool sendDimension(CanvasGraphInternal::Shape const &shape, CanvasGraphInternal::LocalTransform const &local)
tries the dimension line's special shape: DIMN
Definition: CanvasGraph.cxx:1907
bool readFileBitmap(long length)
tries to read the file bitmap: windows v3.5
Definition: CanvasGraph.cxx:1338
void setInput(MWAWInputStreamPtr &input)
store the actual input
Definition: CanvasGraph.cxx:467
bool send(CanvasGraphInternal::Shape const &shape, CanvasGraphInternal::LocalTransform const *local=nullptr)
tries to send a shape
Definition: CanvasGraph.cxx:1596
bool sendShape(int id)
tries to send a shape with id
Definition: CanvasGraph.cxx:477
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:68
small class use to define a embedded object
Definition: libmwaw_internal.hxx:467