• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

ie_impGraphic_SVG.h

Go to the documentation of this file.
00001 /* -*- mode: C++; tab-width: 4; c-basic-offset: 4; -*- */
00002 
00003 /* AbiWord
00004  * Copyright (C) 2000 AbiSource, Inc.
00005  *
00006  * This program is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU General Public License
00008  * as published by the Free Software Foundation; either version 2
00009  * of the License, or (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00019  * 02110-1301 USA.
00020  */
00021 
00022 
00023 #ifndef IE_IMPGRAPHIC_SVG_H
00024 #define IE_IMPGRAPHIC_SVG_H
00025 
00026 #include "ie_impGraphic.h"
00027 
00028 class ABI_EXPORT IE_ImpGraphicSVG_Sniffer : public IE_ImpGraphicSniffer
00029 {
00030  public:
00031     virtual const IE_SuffixConfidence * getSuffixConfidence ();
00032     virtual const IE_MimeConfidence * getMimeConfidence ();
00033     virtual UT_Confidence_t recognizeContents (const char * szBuf,
00034                     UT_uint32 iNumbytes);
00035     virtual bool getDlgLabels (const char ** szDesc,
00036                    const char ** szSuffixList,
00037                    IEGraphicFileType * ft);
00038     virtual UT_Error constructImporter (IE_ImpGraphic ** ppieg);
00039 };
00040 
00041 class ABI_EXPORT IE_ImpGraphic_SVG : public IE_ImpGraphic
00042 {
00043 public:
00044         virtual UT_Error    importGraphic(const UT_ConstByteBufPtr & pBB,
00045                                           FG_ConstGraphicPtr& pfg);
00046 };
00047 
00048 #endif /* IE_IMPGRAPHIC_SVG_H */

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1