]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_stringinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_stringinset.h
index 54021486bbf3c63009ab6c9eea32e94e4d809302..e1f4dbf33cb9310c657673f04927e778b37c6834 100644 (file)
@@ -2,28 +2,26 @@
 #ifndef MATH_STRINGINSET_H
 #define MATH_STRINGINSET_H
 
-#include "math_diminset.h"
+#include "math_inset.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
-/** Some cllection of chars with similar properties
-    \author André Pönitz
+/** Some collection of chars with similar properties
+ *  maily for math-extern
+ *  \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS
  */
 
-class MathStringInset : public MathDimInset {
+class MathStringInset : public MathInset {
 public:
-       ///
-       MathStringInset();
        ///
        explicit MathStringInset(string const & s);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
-       void metrics(MathMetricsInfo & st) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
-       void draw(MathPainterInfo &, int x, int y) const;
+       void draw(PainterInfo & pi, int x, int y) const;
        ///
        string str() const { return str_; }
        ///
@@ -32,15 +30,17 @@ public:
        ///
        void normalize(NormalStream &) const;
        ///
-       void octavize(OctaveStream &) const;
+       void octave(OctaveStream &) const;
        ///
-       void maplize(MapleStream &) const;
+       void maple(MapleStream &) const;
+       ///
+       void mathematica(MathematicaStream &) const;
        ///
        void mathmlize(MathMLStream &) const;
        ///
        void write(WriteStream & os) const;
 
-public:
+private:
        /// the string
        string str_;
 };