Debian Codegraph @

plugins/wpg/xp/ie_impGraphic_WPG.h

raw symbols SCIP
1 /* AbiWord
2 * Copyright (C) 2006 Marc Maurer <[email protected]>
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17 * 02110-1301 USA.
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 /* IE_IMP_WPG_H */