filters
epsexport.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __EPSEXPORT_H__
00021 #define __EPSEXPORT_H__
00022
00023
00024 #include <KoFilter.h>
00025
00026 #include "vvisitor.h"
00027
00028 class QTextStream;
00029 class VColor;
00030 class VPath;
00031 class VDocument;
00032 class VFill;
00033 class VGroup;
00034 class VLayer;
00035 class VSubpath;
00036 class VStroke;
00037 class VText;
00038
00039
00040 class EpsExport : public KoFilter, private VVisitor
00041 {
00042 Q_OBJECT
00043
00044 public:
00045 EpsExport( KoFilter* parent, const char* name, const QStringList& );
00046 virtual ~EpsExport() {}
00047
00048 virtual KoFilter::ConversionStatus convert( const QCString& from, const QCString& to );
00049
00050 private:
00051 virtual void visitVPath( VPath& composite );
00052 virtual void visitVDocument( VDocument& document );
00053 virtual void visitVSubpath( VSubpath& path );
00054 virtual void visitVText( VText& text );
00055
00056 void getStroke( const VStroke& stroke );
00057 void getFill( const VFill& fill );
00058 void getColor( const VColor& color );
00059
00060 QTextStream* m_stream;
00061
00062 uint m_psLevel;
00063 };
00064
00065 #endif
00066
|