]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/mathml_editor/src/CMathMLFactoryXSLTDiff.hh
* this is a large commit
[helm.git] / helm / DEVEL / mathml_editor / src / CMathMLFactoryXSLTDiff.hh
diff --git a/helm/DEVEL/mathml_editor/src/CMathMLFactoryXSLTDiff.hh b/helm/DEVEL/mathml_editor/src/CMathMLFactoryXSLTDiff.hh
new file mode 100644 (file)
index 0000000..ac933b5
--- /dev/null
@@ -0,0 +1,23 @@
+
+#ifndef __CMathMLFactoryXSLTDiff_hh__
+#define __CMathMLFactoryXSLTDiff_hh__
+
+#include "AMathMLFactory.hh"
+
+class CMathMLFactoryXSLTDiff : public AMathMLFactory
+{
+public:
+  CMathMLFactoryXSLTDiff(class ALogger&, const DOMX::XSLTStylesheet&);
+
+  virtual void reset(void);
+  virtual void documentModified(class TDocument&);
+  virtual DOM::Document document(void) const { return result; };
+
+private:
+  bool subst(const DOM::Element& e1, const DOM::GdomeString& id, const DOM::Element& e2);
+
+  const DOMX::XSLTStylesheet& style;
+  DOM::Document result;
+};
+
+#endif // __CMathMLFactoryXSLT_hh__