filters

xml2latexparser.h
1/*
2** Header file for inclusion with kword_xml2latex.c
3**
4** Copyright (C) 2000, 2002 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 __XML2LATEXPARSER_H__
23#define __XML2LATEXPARSER_H__
24
25#include <tqfile.h> /* for TQFile class */
26#include <tqtextstream.h> /* for TQTextStream class */
27#include <tqstring.h> /* for TQString class */
28#include "fileheader.h"
29#include "document.h"
30
31class Xml2LatexParser : public XmlParser
32{
33 TQFile _file;
34 TQTextStream _out;
36 //TQString _filename;
38 const KoStore* _in;
39
41 //FileHeader _header;
43 Document _document;
44
45 public:
50 Xml2LatexParser(const KoStore* in, TQString fileOut, Config* config);
51
52 virtual ~Xml2LatexParser() {}
53
54 void analyse();
55 void generate();
56
57};
58
59#endif /* __XML2LATEXPARSER_H__ */
This class supply some convenients methods to access to a DOM tree.