]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathGrid.h
Introduce a return value for mathmlize(). We will need this to be able
[features.git] / src / mathed / InsetMathGrid.h
index fb6edfb98965e9d43953d25ad51b451a9de64489..aaef2aaa21c844a42da4e456d6b667e00a491490 100644 (file)
@@ -92,11 +92,12 @@ public:
 
 public:
        /// sets nrows and ncols to 1, vertical alingment to 'c'
-       InsetMathGrid();
+       InsetMathGrid(Buffer * buf);
        /// Note: columns first!
-       InsetMathGrid(col_type m, row_type n);
+       InsetMathGrid(Buffer * buf, col_type m, row_type n);
        ///
-       InsetMathGrid(col_type m, row_type n, char valign, docstring const & halign);
+       InsetMathGrid(Buffer * buf, col_type m, row_type n, char valign,
+               docstring const & halign);
        ///
        void metrics(MetricsInfo & mi, Dimension &) const;
        ///
@@ -218,7 +219,7 @@ public:
        ///
        //void maple(MapleStream &) const;
        ///
-       void mathmlize(MathStream &) const;
+       docstring mathmlize(MathStream &) const;
        ///
        //void octave(OctaveStream &) const;
 
@@ -233,8 +234,7 @@ protected:
        /// returns y offset of cell compared to inset
        int cellYOffset(idx_type idx) const;
        /// returns proper 'end of line' code for LaTeX
-       virtual docstring eolString(row_type row, bool emptyline,
-                                     bool fragile) const;
+       virtual docstring eolString(row_type row, bool fragile) const;
        /// returns proper 'end of column' code for LaTeX
        virtual docstring eocString(col_type col, col_type lastcol) const;
        /// splits cells and shifts right part to the next cell