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