filters

xml2latexparser.h

00001 /*
00002 ** Header file for inclusion with kword_xml2latex.c
00003 **
00004 ** Copyright (C) 2000, 2002 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 __XML2LATEXPARSER_H__
00023 #define __XML2LATEXPARSER_H__
00024 
00025 #include <qfile.h>          /* for QFile class */
00026 #include <qtextstream.h>    /* for QTextStream class */
00027 #include <qstring.h>        /* for QString class */
00028 #include "fileheader.h"
00029 #include "document.h"
00030 
00031 class Xml2LatexParser : public XmlParser
00032 {
00033     QFile _file;
00034     QTextStream _out;
00036     //QString  _filename;
00038     const KoStore* _in;
00039 
00041     //FileHeader  _header;
00043     Document    _document;
00044 
00045     public:
00050         Xml2LatexParser(const KoStore* in, QString fileOut, Config* config);
00051 
00052         virtual ~Xml2LatexParser() {}
00053 
00054         void analyse();
00055         void generate();
00056 
00057 };
00058 
00059 #endif /* __XML2LATEXPARSER_H__ */
KDE Home | KDE Accessibility Home | Description of Access Keys