filters
imageexport.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __IMAGEEXPORT_H__
00021 #define __IMAGEEXPORT_H__
00022
00023 #include <KoFilter.h>
00024
00025 class QPixmap;
00026 class ImageExport : public KoFilter
00027 {
00028 Q_OBJECT
00029
00030 public:
00031 ImageExport(KoFilter *parent, const char *name, const QStringList&);
00032 virtual ~ImageExport();
00033
00034 virtual KoFilter::ConversionStatus convert(const QCString& from, const QCString& to);
00035 virtual bool extraImageAttribute() { return true;};
00036 virtual bool saveImage( QString fileName) = 0;
00037 virtual const char* exportFormat() = 0;
00038 protected:
00039 int width;
00040 int height;
00041 QPixmap pixmap;
00042 };
00043
00044 #endif // __IMAGEEXPORT_H__
00045
|