00001 /* AbiSource 00002 * 00003 * Copyright (C) 2002 Dom Lachowicz <cinamod@hotmail.com> 00004 * Copyright (C) 2004 Robert Staudinger <robsta@stereolyzer.net> 00005 * 00006 * Copyright (C) 2005 INdT 00007 * Author: Daniel d'Andrada T. de Carvalho <daniel.carvalho@indt.org.br> 00008 * 00009 * This program is free software; you can redistribute it and/or 00010 * modify it under the terms of the GNU General Public License 00011 * as published by the Free Software Foundation; either version 2 00012 * of the License, or (at your option) any later version. 00013 * 00014 * This program is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 * GNU General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU General Public License 00020 * along with this program; if not, write to the Free Software 00021 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 00022 * 02110-1301 USA. 00023 */ 00024 00025 #ifndef _IE_EXP_OPENDOCUMENT_SNIFFER_H_ 00026 #define _IE_EXP_OPENDOCUMENT_SNIFFER_H_ 00027 00028 00029 // AbiWord includes 00030 #include <ie_exp.h> 00031 00032 00033 class IE_Exp_OpenDocument_Sniffer : public IE_ExpSniffer 00034 { 00035 public: 00036 IE_Exp_OpenDocument_Sniffer(); 00037 00038 virtual ~IE_Exp_OpenDocument_Sniffer() ; 00039 00040 virtual bool recognizeSuffix(const char * szSuffix) ; 00041 00042 virtual UT_Confidence_t supportsMIME(const char * szMIME); 00043 virtual UT_Error constructExporter(PD_Document * pDocument, 00044 IE_Exp ** ppie) ; 00045 00046 virtual bool getDlgLabels(const char ** pszDesc, 00047 const char ** pszSuffixList, 00048 IEFileType * ft) ; 00049 }; 00050 00051 #endif //_IE_EXP_OPENDOCUMENT_SNIFFER_H_