]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_gridinset.h
make \newcommand{\bb}[1]{\mathbf{#1}} work for read/write/display.
[lyx.git] / src / mathed / math_gridinset.h
index 8a6e8a14a8735a7af4f11737a25792489400cbfb..286aa953dd1f14fd3d2af1459585eb26d1efa116 100644 (file)
@@ -68,6 +68,8 @@ public:
        ///
        MathGridInset(col_type m, row_type n, char valign, string const & halign);
        ///
+       MathInset * clone() const;
+       ///
        void metrics(MathMetricsInfo const & st) const;
        ///
        void draw(Painter &, int x, int y) const;
@@ -110,9 +112,9 @@ public:
        int cellYOffset(idx_type idx) const;
 
        ///
-       bool idxUp(idx_type &, pos_type &) const;
+       bool idxUp(idx_type &) const;
        ///
-       bool idxDown(idx_type &, pos_type &) const;
+       bool idxDown(idx_type &) const;
        ///
        bool idxLeft(idx_type &, pos_type &) const;
        ///
@@ -131,13 +133,13 @@ public:
        void idxDeleteRange(idx_type, idx_type);
                        
        ///
-       void addRow(row_type);
+       virtual void addRow(row_type);
        ///
-       void delRow(row_type);
+       virtual void delRow(row_type);
        ///
-       void addCol(col_type);
+       virtual void addCol(col_type);
        ///
-       void delCol(col_type);
+       virtual void delCol(col_type);
        ///
        virtual void appendRow();
        ///