spreadsheet.h
1/*
2** Header file for inclusion with kword_xml2latex.c
3**
4** Copyright (C) 2002, 2003 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_SPREADSHEET_H__
23#define __KSPREAD_LATEX_SPREADSHEET_H__
24
25#include <tqptrlist.h>
26#include <tqtextstream.h>
27
28#include "map.h"
29#include "config.h"
30
31enum EGenerate
32{
33 E_LATEX,
34 E_KWORD,
35 E_CONFIG
36};
37
38/***********************************************************************/
39/* Class: Spreadsheet */
40/***********************************************************************/
41
47{
48
49 //Paper _paper;
50 Map _map;
51 //Locale _locale;
52 //AreaName _areaname;
53
54 public:
61
67 virtual ~Spreadsheet();
68
73 void analyse(const TQDomNode);
74 void analyse_attr(const TQDomNode);
75
76 void generate(TQTextStream&, bool);
77
78 private:
82 void generatePreambule(TQTextStream&);
83
87 void generateTypeHeader(TQTextStream&);
88
92 void generateTypeFooter(TQTextStream&);
93};
94
95#endif /* __KSPREAD_LATEX_SPREADSHEET_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
This class hold a whole document with its headers, footers, footnotes, endnotes, content,...
Definition spreadsheet.h:47
void analyse(const TQDomNode)
Accessors.
virtual ~Spreadsheet()
Destructor.
Spreadsheet()
Constructor.
This class supply some convenients methods to access to a DOM tree.