38 # define CANVAS5_IMAGE
44 #include <librevenge/librevenge.h>
107 std::shared_ptr<Canvas5ImageInternal::VKFLImage>
getGIF(
int gifId);
111 std::shared_ptr<Canvas5ImageInternal::VKFLImage>
getMACO(std::vector<unsigned>
const &
id);
119 bool send(std::shared_ptr<Canvas5ImageInternal::VKFLImage> image,
MWAWListenerPtr listener,
135 std::tuple<MWAWEntry, unsigned, long>
const &dataTypePos,
136 std::vector<long> &childFieldPos,
int subId);
153 std::shared_ptr<Canvas5ImageInternal::State>
m_state;
the main class to read/convert the image or movie inside of Canvas 5/6 file
Definition: Canvas5Image.hxx:78
std::shared_ptr< Canvas5ImageInternal::VKFLImage > getGIF(int gifId)
try to retrieve a gif given a GIF id
Definition: Canvas5Image.cxx:269
bool getQuickTime(int quicktimeId, MWAWEmbeddedObject &object)
try to retrieve a quicktime given a quicktimeId
Definition: Canvas5Image.cxx:289
bool readMacroIndent(Canvas5Structure::Stream &stream, std::vector< unsigned > &id, std::string &extra)
try to read a macro indent (low level)
Definition: Canvas5Image.cxx:357
bool readQkTmRsrc(Canvas5Structure::Stream &stream)
try to read the QkTm rsrc block: a list of media? v6
Definition: Canvas5Image.cxx:641
virtual ~Canvas5Image()
destructor
Definition: Canvas5Image.cxx:244
std::shared_ptr< Canvas5ImageInternal::State > m_state
the state
Definition: Canvas5Image.hxx:153
int version() const
returns the file version
Definition: Canvas5Image.cxx:248
bool getArrow(std::shared_ptr< Canvas5ImageInternal::VKFLImage > image, MWAWGraphicStyle::Arrow &arrow) const
try to retrieve an arrow from a VKFL image
Definition: Canvas5Image.cxx:707
MWAWParserStatePtr m_parserState
the parser state
Definition: Canvas5Image.hxx:150
bool send(std::shared_ptr< Canvas5ImageInternal::VKFLImage > image, MWAWListenerPtr listener, MWAWBox2f const &box, MWAWTransformation const &transformation) const
try to send a image where box is the image bdbox before applying transformation
Definition: Canvas5Image.cxx:1497
Canvas5Image(Canvas5Image const &orig)=delete
bool readVKFLShapeMainData(Canvas5Structure::Stream &stream, Canvas5ImageInternal::VKFLImage &image, Canvas5ImageInternal::VKFLShape &shape, MWAWEntry const &data)
try to read a shape header in an image
Definition: Canvas5Image.cxx:1082
Canvas5Parser * m_mainParser
the main parser;
Definition: Canvas5Image.hxx:156
Canvas5Image & operator=(Canvas5Image const &orig)=delete
bool readMACORsrc(Canvas5Structure::Stream &stream)
try to read the macros rsrc blocks: a list of vectorised image
Definition: Canvas5Image.cxx:390
std::shared_ptr< Canvas5ImageInternal::VKFLImage > getMACO(std::vector< unsigned > const &id)
try to retrieve a macros image given a MACO id
Definition: Canvas5Image.cxx:279
bool getTexture(std::shared_ptr< Canvas5ImageInternal::VKFLImage > image, MWAWEmbeddedObject &texture, MWAWVec2i &textureDim, MWAWColor &averageColor) const
try to retrieve an texture from a VKFL image
Definition: Canvas5Image.cxx:746
Canvas5Image(Canvas5Parser &parser)
constructor
Definition: Canvas5Image.cxx:237
std::shared_ptr< Canvas5StyleManager > getStyleManager() const
return the style manager
Definition: Canvas5Image.cxx:253
bool readVKFLShapeOtherData(Canvas5Structure::Stream &stream, Canvas5ImageInternal::VKFLImage &image, std::tuple< MWAWEntry, unsigned, long > const &dataTypePos, std::vector< long > &childFieldPos, int subId)
try to read a external data corresponding to some shapes in an image
Definition: Canvas5Image.cxx:1272
bool readVKFL(Canvas5Structure::Stream &stream, long len, std::shared_ptr< Canvas5ImageInternal::VKFLImage > &image)
try to read an unknown vectorized graphic format used to store symbol, texture and arrow
Definition: Canvas5Image.cxx:770
bool readVKFLShape(Canvas5Structure::Stream &stream, Canvas5ImageInternal::VKFLImage &image)
try to read a shape in an image
Definition: Canvas5Image.cxx:987
bool readAGIFRsrc(Canvas5Structure::Stream &stream)
try to read the AGIF rsrc block: a list of vectorised image v6
Definition: Canvas5Image.cxx:515
bool readBitmaps(Canvas5Structure::Stream &stream)
try to read the second big block: the bitmap
Definition: Canvas5Image.cxx:311
bool getBitmap(int bitmapId, MWAWEmbeddedObject &object)
try to retrieve a bitmap given a bitmapId
Definition: Canvas5Image.cxx:258
the main class to read a Canvas 5/6 files
Definition: Canvas5Parser.hxx:72
the main class to read the style part of Canvas 5 file
Definition: Canvas5StyleManager.hxx:86
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
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< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
Internal: the structures of a Canvas5Image.
Definition: Canvas5Image.cxx:70
a namespace used to define basic function or structure to read a Canvas 5 file
Definition: Canvas5BMParser.hxx:64
Internal: the internal image of a Canvas5Image.
Definition: Canvas5Image.cxx:166
Internal: the internal shape of a Canvas5Image.
Definition: Canvas5Image.cxx:93
a sub stream of Canvas5Structure
Definition: Canvas5Structure.hxx:49
the class to store a color
Definition: libmwaw_internal.hxx:192
small class use to define a embedded object
Definition: libmwaw_internal.hxx:467
a structure used to define an arrow
Definition: MWAWGraphicStyle.hxx:56