filters

kspread/latex/export/document.h
1
2/*
3** Header file for inclusion with kword_xml2latex.c
4**
5** Copyright (C) 2000, 2003 Robert JACOLIN
6**
7** This library is free software; you can redistribute it and/or
8** modify it under the terms of the GNU Library General Public
9** License as published by the Free Software Foundation; either
10** version 2 of the License, or (at your option) any later version.
11**
12** This library is distributed in the hope that it will be useful,
13** but WITHOUT ANY WARRANTY; without even the implied warranty of
14** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15** Library General Public License for more details.
16**
17** To receive a copy of the GNU Library General Public License, write to the
18** Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
20**
21*/
22
23#ifndef __KSPREAD_LATEX_DOCUMENT_H__
24#define __KSPREAD_LATEX_DOCUMENT_H__
25
26#include <tqfile.h> /* for TQFile class */
27#include <tqtextstream.h> /* for TQTextStream class */
28#include <tqstring.h> /* for TQString class */
29
30#include "xmlparser.h"
31#include "config.h"
32#include "spreadsheet.h"
33
34class Document : public XmlParser, Config
35{
36 TQFile _file;
37 TQTextStream _out;
38 TQString _filename;
39 const KoStore* _in;
40
41 //FileHeader _header;
42 Spreadsheet _document;
43
44 /* Options */
45
46
47 public:
52 Document(const KoStore* in, TQString fileOut);
53
54 virtual ~Document();
55
56 /* Accesors */
57
58 void analyse();
59 void generate();
60
61 private:
62
63};
64
65#endif /* __KSPREAD_LATEX_DOCUMENT_H__ */
virtual ~Document()
Destructor.
Document(const KoStore *in, TQString fileOut)
This class hold a whole document with its headers, footers, footnotes, endnotes, content,...
Definition spreadsheet.h:47