filters
mswordimport.h
00001 /* This file is part of the KOffice project 00002 Copyright (C) 2002 Werner Trobin <trobin@kde.org> 00003 Copyright (C) 2002 David Faure <faure@kde.org> 00004 00005 This program is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU General Public 00007 License version 2 as published by the Free Software Foundation. 00008 00009 This program is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 General Public License for more details. 00013 00014 You should have received a copy of the GNU General Public License 00015 along with this program; see the file COPYING. If not, write to 00016 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00017 * Boston, MA 02110-1301, USA. 00018 */ 00019 00020 #ifndef MSWORDIMPORT_H 00021 #define MSWORDIMPORT_H 00022 00023 #include <KoFilter.h> 00024 00025 class QDomDocument; 00026 class QDomElement; 00027 00028 class MSWordImport : public KoFilter 00029 { 00030 Q_OBJECT 00031 public: 00032 MSWordImport( KoFilter* parent, const char* name, const QStringList& ); 00033 virtual ~MSWordImport(); 00034 00035 virtual KoFilter::ConversionStatus convert( const QCString& from, const QCString& to ); 00036 00037 private: 00038 void prepareDocument( QDomDocument& mainDocument, QDomElement& framesetsElem ); 00039 }; 00040 00041 #endif // MSWORDIMPORT_H