]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathExInt.h
LyXText -> Text
[lyx.git] / src / mathed / InsetMathExInt.h
index 3f1b821c7219133bd97640be5ae0c281931587fe..5ed5a4ca8790a9a117de745bfbe474d0401a8718 100644 (file)
 
 #include "InsetMathNest.h"
 
-#include <string>
-
 
 namespace lyx {
 
-
 // cell(0) is stuff before the 'd', cell(1) the stuff after
 class InsetMathExInt : public InsetMathNest {
 public:
        ///
-       explicit InsetMathExInt(std::string const & name_);
+       explicit InsetMathExInt(docstring const & name_);
        ///
-       void symbol(std::string const &);
+       void symbol(docstring const &);
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
 
@@ -45,19 +42,20 @@ public:
        ///
        void mathematica(MathematicaStream &) const;
        ///
-       void mathmlize(MathMLStream &) const;
+       void mathmlize(MathStream &) const;
        ///
        void write(WriteStream & os) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
        ///
        bool hasScripts() const;
 
        ///
-       std::string symbol_;
+       docstring symbol_;
 };
 
 
 } // namespace lyx
 
+
 #endif