KSpreadBaseWorker.h
1/*
2This file is part of the KDE project
3Copyright (C) 2002 Fred Malabre <fmalabre@yahoo.com>
4
5This library is free software; you can redistribute it and/or
6modify it under the terms of the GNU Library General Public
7License as published by the Free Software Foundation; either
8version 2 of the License, or (at your option) any later version.
9
10This library is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13Library General Public License for more details.
14
15You should have received a copy of the GNU Library General Public License
16along with this library; see the file COPYING.LIB. If not, write to
17the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19*/
20
21#ifndef KSPREAD_BASE_WORKER_H
22#define KSPREAD_BASE_WORKER_H
23
24#include <KoFilter.h>
25#include <tqmap.h>
26
27
28typedef TQMap<TQString, TQString> KSpreadFilterProperty;
29
30class KSpreadBaseWorker
31{
32public:
33 KSpreadBaseWorker();
34 virtual ~KSpreadBaseWorker();
35
36 virtual KoFilter::ConversionStatus startDocument(KSpreadFilterProperty property);
37 virtual KoFilter::ConversionStatus startInfoLog(KSpreadFilterProperty property);
38 virtual KoFilter::ConversionStatus startInfoAuthor(KSpreadFilterProperty property);
39 virtual KoFilter::ConversionStatus startInfoAbout(KSpreadFilterProperty property);
40 virtual KoFilter::ConversionStatus startSpreadBook(KSpreadFilterProperty property);
41 virtual KoFilter::ConversionStatus startSpreadSheet(KSpreadFilterProperty property);
42 virtual KoFilter::ConversionStatus startSpreadCell(KSpreadFilterProperty property);
43};
44
45#endif /* KSPREAD_BASE_WORKER_H */