23#ifndef __LATEX_XMLPARSER_H__
24#define __LATEX_XMLPARSER_H__
43 TQDomDocument _document;
54 static Document *_root;
56 static TQString _filename;
59 XmlParser( Config*, TQString);
60 XmlParser( Config*, TQByteArray);
61 XmlParser( Config*, const KoStore*);
65 TQString getFilename () const { return _filename; }
66 TQString getDocument () const { return _document.toString(); }
67 Document* getRoot () const { return _root; }
69 KoStore* getStorage () const { return _in; }
70 TQString getChildName(TQDomNode, int);
71 TQDomNode getChild(TQDomNode, TQString);
72 TQDomNode getChild(TQDomNode, TQString, int);
73 TQDomNode getChild(TQDomNode, int);
74 TQString getData(TQDomNode, int);
75 int getNbChild(TQDomNode, TQString);
76 int getNbChild(TQDomNode);
77 TQString getAttr(TQDomNode, TQString) const;
78 bool isChild(TQDomNode, TQString);
81 void setRoot (Document* r) { _root = r; }
83 TQDomNode init() { return _document.documentElement(); }
This class hold all parameters and configuration from a file or from the filter configuration dialog ...
This class hold a whole document with its headers, footers, footnotes, endnotes, content,...
This class supply some convenients methods to access to a DOM tree.
|