22#ifndef __KWORD_LATEX_DOCUMENT_H__
23#define __KWORD_LATEX_DOCUMENT_H__
26#include <tqtextstream.h>
43 enum EGenerate { E_LATEX, E_KWORD, E_CONFIG };
46 TQPtrList<Element> _headers;
47 TQPtrList<Element> _footers;
48 TQPtrList<Element> _footnotes;
49 TQPtrList<Element> _formulas;
50 TQPtrList<Element> _corps;
51 TQPtrList<Element> _pixmaps;
56 EGenerate _generation;
84 void analyse( const TQDomNode);
85 void analysePixmaps( const TQDomNode);
87 void generate(TQTextStream&, bool);
88 Element* searchAnchor(TQString);
89 Element* searchFootnote(TQString);
90 Key* searchKey(TQString keyName);
101 void generatePreambule(TQTextStream&);
106 void generateTypeHeader(TQTextStream&, Element*);
110 void generateTypeFooter(TQTextStream&, Element*);
This class hold a whole document with its headers, footers, footnotes, endnotes, content,...
virtual ~Document() Destructor.
SType getTypeFrameset(const TQDomNode) Accessors.
TQString extractData(TQString key) Save the file in a temp file.
This class hold a real paragraph.
This class supply some convenients methods to access to a DOM tree.
|