20#ifndef __koPictureWmf_h__
21#define __koPictureWmf_h__
25#include <koffice_export.h>
39class KOFFICECORE_EXPORT KoPictureWmf : public KoPictureBase
50 virtual ~KoPictureWmf();
52 virtual KoPictureType::Type getType( void) const;
54 virtual KoPictureBase* newCopy( void) const;
60 virtual bool isNull( void) const;
77 virtual void draw(TQPainter& painter, int x, int y, int width, int height, int sx = 0, int sy = 0, int sw = -1, int sh = -1, bool fastMode = false);
79 virtual bool loadData( const TQByteArray& array, const TQString& extension);
85 virtual bool save(TQIODevice* io) const;
87 virtual TQSize getOriginalSize( void) const;
89 virtual TQPixmap generatePixmap( const TQSize& size, bool smoothScale = false);
91 virtual TQString getMimeType( const TQString& extension) const;
94 TQPixmap getPixmap(TQImage& image);
99 void drawTQPicture(TQPicture& clipart, TQPainter& painter,
100 int x, int y, int width, int height, int sx, int sy, int sw, int sh);
103 TQByteArray m_rawData;
105 TQSize m_originalSize;
TDEAction * save(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name=0)
|