map.h
1/*
2** Header file for inclusion with kword_xml2latex.c
3**
4** Copyright (C) 2000 Robert JACOLIN
5**
6** This library is free software; you can redistribute it and/or
7** modify it under the terms of the GNU Library General Public
8** License as published by the Free Software Foundation; either
9** version 2 of the License, or (at your option) any later version.
10**
11** This library is distributed in the hope that it will be useful,
12** but WITHOUT ANY WARRANTY; without even the implied warranty of
13** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14** Library General Public License for more details.
15**
16** To receive a copy of the GNU Library General Public License, write to the
17** Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19**
20*/
21
22#ifndef __KSPREAD_LATEX_MAP_H__
23#define __KSPREAD_LATEX_MAP_H__
24
25#include <tqstring.h>
26#include <tqptrstack.h> /* historic list */
27#include <tqptrlist.h> /* for list of format */
28
29#include "xmlparser.h"
30#include "config.h"
31#include "table.h"
32
33/***********************************************************************/
34/* Class: Map */
35/***********************************************************************/
36
42class Map: public XmlParser, Config
43{
44 TQPtrList<Table> _tables;
45
46 public:
54 Map();
55
56 /*
57 * Destructor
58 *
59 * The destructor must remove the list of little zones.
60 */
61 virtual ~Map();
62
78 void analyse (const TQDomNode);
79
83 void generate (TQTextStream&);
84
85
86 private:
87
88};
89
90#endif /* __KSPREAD_LATEX_MAP_H__ */
This class hold all parameters and configuration from a file or from the filter configuration dialog ...
This class hold a real paragraph.
Definition map.h:43
Map()
Constructors.
Definition map.cpp:29
void analyse(const TQDomNode)
Accessors.
Definition map.cpp:44
void generate(TQTextStream &)
Write the paragraph in a file.
Definition map.cpp:66
This class supply some convenients methods to access to a DOM tree.