filters
map.h
00001 /* 00002 ** Header file for inclusion with kword_xml2latex.c 00003 ** 00004 ** Copyright (C) 2000 Robert JACOLIN 00005 ** 00006 ** This library is free software; you can redistribute it and/or 00007 ** modify it under the terms of the GNU Library General Public 00008 ** License as published by the Free Software Foundation; either 00009 ** version 2 of the License, or (at your option) any later version. 00010 ** 00011 ** This library 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 GNU 00014 ** Library General Public License for more details. 00015 ** 00016 ** To receive a copy of the GNU Library General Public License, write to the 00017 ** Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00018 * Boston, MA 02110-1301, USA. 00019 ** 00020 */ 00021 00022 #ifndef __KSPREAD_LATEX_MAP_H__ 00023 #define __KSPREAD_LATEX_MAP_H__ 00024 00025 #include <qstring.h> 00026 #include <qptrstack.h> /* historic list */ 00027 #include <qptrlist.h> /* for list of format */ 00028 00029 #include "xmlparser.h" 00030 #include "config.h" 00031 #include "table.h" 00032 00033 /***********************************************************************/ 00034 /* Class: Map */ 00035 /***********************************************************************/ 00036 00042 class Map: public XmlParser, Config 00043 { 00044 QPtrList<Table> _tables; 00045 00046 public: 00054 Map(); 00055 00056 /* 00057 * Destructor 00058 * 00059 * The destructor must remove the list of little zones. 00060 */ 00061 virtual ~Map(); 00062 00078 void analyse (const QDomNode); 00079 00083 void generate (QTextStream&); 00084 00085 00086 private: 00087 00088 }; 00089 00090 #endif /* __KSPREAD_LATEX_MAP_H__ */