filters
document.h
00001 00002 /* 00003 ** Header file for inclusion with kword_xml2latex.c 00004 ** 00005 ** Copyright (C) 2000, 2003 Robert JACOLIN 00006 ** 00007 ** This library is free software; you can redistribute it and/or 00008 ** modify it under the terms of the GNU Library General Public 00009 ** License as published by the Free Software Foundation; either 00010 ** version 2 of the License, or (at your option) any later version. 00011 ** 00012 ** This library is distributed in the hope that it will be useful, 00013 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 ** Library General Public License for more details. 00016 ** 00017 ** To receive a copy of the GNU Library General Public License, write to the 00018 ** Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00019 * Boston, MA 02110-1301, USA. 00020 ** 00021 */ 00022 00023 #ifndef __KSPREAD_LATEX_DOCUMENT_H__ 00024 #define __KSPREAD_LATEX_DOCUMENT_H__ 00025 00026 #include <qfile.h> /* for QFile class */ 00027 #include <qtextstream.h> /* for QTextStream class */ 00028 #include <qstring.h> /* for QString class */ 00029 00030 #include "xmlparser.h" 00031 #include "config.h" 00032 #include "spreadsheet.h" 00033 00034 class Document : public XmlParser, Config 00035 { 00036 QFile _file; 00037 QTextStream _out; 00038 QString _filename; 00039 const KoStore* _in; 00040 00041 //FileHeader _header; 00042 Spreadsheet _document; 00043 00044 /* Options */ 00045 00046 00047 public: 00052 Document(const KoStore* in, QString fileOut); 00053 00054 virtual ~Document(); 00055 00056 /* Accesors */ 00057 00058 void analyse(); 00059 void generate(); 00060 00061 private: 00062 00063 }; 00064 00065 #endif /* __KSPREAD_LATEX_DOCUMENT_H__ */