| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
#ifndef IE_IMP_WPG_H |
| 21 |
#define IE_IMP_WPG_H |
| 22 |
|
| 23 |
#include <libwpg/libwpg.h> |
| 24 |
#include "ie_impGraphic_SVG.h" |
| 25 |
|
| 26 |
class IE_Imp_WordPerfectGraphics_Sniffer : public IE_ImpGraphicSniffer |
| 27 |
{ |
| 28 |
friend class IE_Imp; |
| 29 |
friend class IE_Imp_WordPerfectGraphics; |
| 30 |
|
| 31 |
public: |
| 32 |
IE_Imp_WordPerfectGraphics_Sniffer(); |
| 33 |
virtual ~IE_Imp_WordPerfectGraphics_Sniffer(); |
| 34 |
|
| 35 |
virtual const IE_SuffixConfidence * getSuffixConfidence (); |
| 36 |
virtual UT_Confidence_t recognizeContents (GsfInput * input); |
| 37 |
virtual const IE_MimeConfidence * getMimeConfidence () { return NULL; } |
| 38 |
virtual bool getDlgLabels (const char ** szDesc, |
| 39 |
const char ** szSuffixList, |
| 40 |
IEGraphicFileType *ft); |
| 41 |
virtual UT_Error constructImporter(IE_ImpGraphic **ppieg); |
| 42 |
}; |
| 43 |
|
| 44 |
class IE_Imp_WordPerfectGraphics : public IE_ImpGraphic |
| 45 |
{ |
| 46 |
public: |
| 47 |
virtual UT_Error importGraphic(GsfInput *input, FG_Graphic **ppfg); |
| 48 |
}; |
| 49 |
|
| 50 |
#endif |