]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathAMSArray.h
visual mode for bidi cursor movement
[lyx.git] / src / mathed / InsetMathAMSArray.h
index 4b885f9e39fade8abc824431451ca043568cfaf0..2b5491fe37e7b2da5bf05d586f6a9ed6a827123c 100644 (file)
@@ -21,12 +21,14 @@ namespace lyx {
 class InsetMathAMSArray : public InsetMathGrid {
 public:
        ///
-       InsetMathAMSArray(std::string const & name, int m, int n);
+       InsetMathAMSArray(docstring const & name, int m, int n);
        ///
-       InsetMathAMSArray(std::string const & name);
+       InsetMathAMSArray(docstring const & name);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
+       Dimension const dimension(BufferView const &) const;
+       ///
        void draw(PainterInfo & pain, int x, int y) const;
        ///
        InsetMathAMSArray * asAMSArrayInset() { return this; }
@@ -34,25 +36,25 @@ public:
        InsetMathAMSArray const * asAMSArrayInset() const { return this; }
 
        ///
-       bool getStatus(LCursor & cur, FuncRequest const & cmd,
+       bool getStatus(Cursor & cur, FuncRequest const & cmd,
                FuncStatus & flag) const;
        ///
        void write(WriteStream & os) const;
        ///
-       void infoize(std::ostream & os) const;
+       void infoize(odocstream & os) const;
        ///
        void normalize(NormalStream &) const;
        ///
        void validate(LaTeXFeatures & features) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        ///
        char const * name_left() const;
        ///
        char const * name_right() const;
 
        ///
-       std::string name_;
+       docstring name_;
 };
 
 } // namespace lyx