mswordimport.h
1/* This file is part of the KOffice project
2 Copyright (C) 2002 Werner Trobin <trobin@kde.org>
3 Copyright (C) 2002 David Faure <faure@kde.org>
4
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public
7 License version 2 as published by the Free Software Foundation.
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 GNU
12 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; see the file COPYING. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
18*/
19
20#ifndef MSWORDIMPORT_H
21#define MSWORDIMPORT_H
22
23#include <KoFilter.h>
24
25class TQDomDocument;
26class TQDomElement;
27
28class MSWordImport : public KoFilter
29{
30 TQ_OBJECT
31
32public:
33 MSWordImport( KoFilter* parent, const char* name, const TQStringList& );
34 virtual ~MSWordImport();
35
36 virtual KoFilter::ConversionStatus convert( const TQCString& from, const TQCString& to );
37
38private:
39 void prepareDocument( TQDomDocument& mainDocument, TQDomElement& framesetsElem );
40};
41
42#endif // MSWORDIMPORT_H