39 # define CANVAS5_GRAPH
45 #include <librevenge/librevenge.h>
137 std::shared_ptr<Canvas5GraphInternal::PseudoShape>
readSpecialData(
long len,
unsigned type,
MWAWBox2f const &box, std::string &extra);
199 std::shared_ptr<Canvas5GraphInternal::State>
m_state;
Internal: the subdocument of a Canvas5Graph.
Definition: Canvas5Graph.cxx:328
the main class to read the graphic part of Canvas5 file
Definition: Canvas5Graph.hxx:85
bool sendGIF(MWAWListenerPtr listener, Canvas5GraphInternal::Shape const &shape, Canvas5GraphInternal::ShapeData const &data, LocalState const &local)
tries to send the gif's shape: AnGf (v7)
Definition: Canvas5Graph.cxx:2689
std::shared_ptr< Canvas5GraphInternal::State > m_state
the state
Definition: Canvas5Graph.hxx:199
bool sendExtrude(MWAWListenerPtr listener, Canvas5GraphInternal::Shape const &shape, Canvas5GraphInternal::ShapeData const &data, LocalState const &local)
tries to send the extrude's special shape: Extr (pretty basic)
Definition: Canvas5Graph.cxx:2547
bool sendTechnical(MWAWListenerPtr listener, Canvas5GraphInternal::Shape const &shape, Canvas5GraphInternal::ShapeData const &data, LocalState const &local)
tries to send the technical shape: Tech (v7)
Definition: Canvas5Graph.cxx:2791
virtual ~Canvas5Graph()
destructor
Definition: Canvas5Graph.cxx:423
bool readShapeData(int id, Canvas5GraphInternal::Shape const &shape)
try to read a shape data
Definition: Canvas5Graph.cxx:622
bool sendEffect(MWAWListenerPtr listener, Canvas5GraphInternal::Shape const &shape, Canvas5GraphInternal::ShapeData const &data, LocalState const &local)
tries to send the effect's special shape: effe
Definition: Canvas5Graph.cxx:2491
Canvas5Graph & operator=(Canvas5Graph const &orig)=delete
bool readMatrices(Canvas5Structure::Stream &stream)
try to read the different matrix
Definition: Canvas5Graph.cxx:438
std::shared_ptr< Canvas5StyleManager > m_styleManager
the style manager
Definition: Canvas5Graph.hxx:206
Canvas5Graph(Canvas5Parser &parser)
constructor
Definition: Canvas5Graph.cxx:414
Canvas5Graph(Canvas5Graph const &orig)=delete
bool sendCurveText(MWAWListenerPtr listener, Canvas5GraphInternal::Shape const &shape, Canvas5GraphInternal::ShapeData const &data, LocalState const &local)
try to send a curve's text zone: CvTe
Definition: Canvas5Graph.cxx:3092
std::shared_ptr< Canvas5Image > m_imageParser
the image parser
Definition: Canvas5Graph.hxx:204
bool send(Canvas5GraphInternal::Shape const &shape, LocalState const &local)
try to send a shape with a transformation
Definition: Canvas5Graph.cxx:1570
int version() const
returns the file version
Definition: Canvas5Graph.cxx:427
bool readSpecialData(long len, Canvas5GraphInternal::ShapeData &data, std::string &extra)
try to read a special shape data
Definition: Canvas5Graph.cxx:819
bool sendText(MWAWListenerPtr listener, Canvas5GraphInternal::Shape const &shape, Canvas5GraphInternal::ShapeData const &data)
try to send a text zone
Definition: Canvas5Graph.cxx:2217
bool sendSpecial(MWAWListenerPtr listener, Canvas5GraphInternal::Shape const &shape, Canvas5GraphInternal::ShapeData const &data, LocalState const &local)
try to send a special shape
Definition: Canvas5Graph.cxx:1803
bool sendDimension(MWAWListenerPtr listener, Canvas5GraphInternal::Shape const &shape, Canvas5GraphInternal::ShapeData const &data, LocalState const &local)
tries to send the dimension line's special shape: DIMN
Definition: Canvas5Graph.cxx:3241
bool readDeR3(Canvas5Structure::Stream &stream, Canvas5StyleManager::StyleList &styles)
try to read a complementary styles zone: DeR3
Definition: Canvas5Graph.cxx:1236
bool sendShape(int sId)
try to send a shape
Definition: Canvas5Graph.cxx:1548
Canvas5Parser * m_mainParser
the main parser;
Definition: Canvas5Graph.hxx:202
bool findShapeDataZones(std::shared_ptr< Canvas5Structure::Stream > stream)
try to find the list of data's shape zones
Definition: Canvas5Graph.cxx:484
bool readShapes(Canvas5Structure::Stream &stream, int numShapes)
try to read the different shapes
Definition: Canvas5Graph.cxx:542
MWAWParserStatePtr m_parserState
the parser state
Definition: Canvas5Graph.hxx:196
the main class to read/convert the image or movie inside of Canvas 5/6 file
Definition: Canvas5Image.hxx:78
the main class to read a Canvas 5/6 files
Definition: Canvas5Parser.hxx:72
Class to store font.
Definition: MWAWFont.hxx:44
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:48
static MWAWGraphicStyle emptyStyle()
returns an empty style.
Definition: MWAWGraphicStyle.hxx:473
class to store the paragraph properties
Definition: MWAWParagraph.hxx:85
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:557
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
Internal: the structures of a Canvas5Graph.
Definition: Canvas5Graph.cxx:70
a namespace used to define basic function or structure to read a Canvas 5 file
Definition: Canvas5BMParser.hxx:64
Internal[low level]: a pseudo class to store the data corresponding to a shape.
Definition: Canvas5Graph.cxx:273
Internal: the shape data.
Definition: Canvas5Graph.cxx:86
Internal: the shape of a Canvas5Graph.
Definition: Canvas5Graph.cxx:164
Internal: the local state of a Canvas5Graph.
Definition: Canvas5Graph.hxx:100
void multiplyMatrix(std::array< double, 9 > const &mat)
set the matrix transform
Definition: Canvas5Graph.cxx:3565
MWAWGraphicStyle m_style
the shape style
Definition: Canvas5Graph.hxx:113
MWAWTransformation m_transform
the shape transformation
Definition: Canvas5Graph.hxx:115
LocalState(MWAWPosition const &pos=MWAWPosition(), MWAWGraphicStyle const &style=MWAWGraphicStyle::emptyStyle())
default constructor
Definition: Canvas5Graph.hxx:102
MWAWPosition m_position
the shape position position
Definition: Canvas5Graph.hxx:111
a sub stream of Canvas5Structure
Definition: Canvas5Structure.hxx:49
a structure use to store a list of styles
Definition: Canvas5StyleManager.hxx:109