]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_gridinset.h
whichFont down to 5.3%
[lyx.git] / src / mathed / math_gridinset.h
index c1dfb8e9077d8b91c98eae2e6ad293033c3a8ddb..fc06d7c0b08c187722fbe6d3b49fcc6146046bd7 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;
        ///
@@ -127,8 +129,6 @@ public:
        bool idxEnd(idx_type &, pos_type &) const;
        ///
        void idxDelete(idx_type &, bool &, bool &);
-       ///
-       void idxDeleteRange(idx_type, idx_type);
                        
        ///
        virtual void addRow(row_type);
@@ -151,6 +151,17 @@ public:
        ///
        void setDefaults();
 
+       ///
+       virtual int colsep() const;
+       ///
+       virtual int rowsep() const;
+       ///
+       virtual int hlinesep() const;
+       ///
+       virtual int vlinesep() const;
+       ///
+       virtual int border() const;
+
        ///
        void write(WriteStream & os) const;
        ///