]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDelim.h
* the old cursor is stored before dispatch and then used after moving
[lyx.git] / src / mathed / InsetMathDelim.h
index 03f883526878b7a3a1ee88897351ea6e4e4da0ce..abb7db609743899cb9135fd9360f7cbf1eb6d65e 100644 (file)
@@ -24,9 +24,9 @@ namespace lyx {
 class InsetMathDelim : public InsetMathNest {
 public:
        ///
-       InsetMathDelim(std::string const & left, std::string const & right);
+       InsetMathDelim(docstring const & left, docstring const & right);
        ///
-       InsetMathDelim(std::string const & left, std::string const & right, MathArray const &);
+       InsetMathDelim(docstring const & left, docstring const & right, MathData const &);
        ///
        InsetMathDelim * asDelimInset() { return this; }
        ///
@@ -40,7 +40,7 @@ public:
        ///
        mode_type currentMode() const { return MATH_MODE; }
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
 
@@ -55,15 +55,15 @@ public:
        ///
        void mathematica(MathematicaStream &) const;
        ///
-       void mathmlize(MathMLStream &) const;
+       void mathmlize(MathStream &) const;
        ///
        void octave(OctaveStream &) const;
        ///
-       std::string left_;
+       docstring left_;
        ///
-       std::string right_;
+       docstring right_;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
        ///
        mutable int dw_;
 };