]> matita.cs.unibo.it Git - helm.git/blob - helm/DEVEL/mathml_editor/src/CMathMLFactoryXSLT.hh
* code cleanup
[helm.git] / helm / DEVEL / mathml_editor / src / CMathMLFactoryXSLT.hh
1
2 #ifndef __CMathMLFactoryXSLT_hh__
3 #define __CMathMLFactoryXSLT_hh__
4
5 #include "AMathMLFactory.hh"
6
7 class CMathMLFactoryXSLT : public AMathMLFactory
8 {
9 public:
10   CMathMLFactoryXSLT(class ALogger& l, const DOM::XSLTStylesheet& s) : AMathMLFactory(l), style(s) { };
11   CMathMLFactoryXSLT(class ALogger& l, class AMathMLConsumer& c, const DOM::XSLTStylesheet& s) : AMathMLFactory(l, c), style(s) { };
12
13   virtual void documentModified(class TDocument&);
14   virtual DOM::Document document(void) const { return result; };
15
16 private:
17   static bool subst(const DOM::Element& e1, const DOM::GdomeString& id, const DOM::Element& e2);
18
19   const DOM::XSLTStylesheet& style;
20   DOM::Document result;
21 };
22
23 #endif // __CMathMLFactoryXSLT_hh__