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