]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathGrid.h
Fix broken Apple speller interface
[features.git] / src / mathed / InsetMathGrid.h
index cf24dcffd105124b9fd5bed34b7456113945805c..ae95eaf0957086e79c34662bf71e8c89c8a3c9d2 100644 (file)
@@ -94,7 +94,7 @@ public:
        InsetMathGrid(Buffer * buf, col_type m, row_type n, char valign,
                docstring const & halign);
        ///
-       marker_type marker(BufferView const *) const override { return MARKER2; };
+       marker_type marker(BufferView const *) const override { return marker_type::MARKER2; }
        ///
        void metrics(MetricsInfo & mi, Dimension &) const override;
        ///
@@ -208,17 +208,17 @@ public:
        virtual bool handlesMulticolumn() const { return false; }
 
        ///
-       void write(WriteStream & os) const override;
+       void write(TeXMathStream & os) const override;
        ///
-       void write(WriteStream & os,
-                  row_type beg_row, col_type beg_col,
-                  row_type end_row, col_type end_col) const;
+       void write(TeXMathStream & os,
+                  row_type beg_row, col_type beg_col,
+                  row_type end_row, col_type end_col) const;
        ///
        void normalize(NormalStream &) const override;
        ///
        //void maple(MapleStream &) const override;
        ///
-       void mathmlize(MathStream &) const override;
+       void mathmlize(MathMLStream &) const override;
        ///
        void htmlize(HtmlStream &) const override;
        ///
@@ -246,8 +246,8 @@ protected:
        virtual int rightMargin() const { return 0; }
 
        /// returns proper 'end of line' code for LaTeX
-       virtual docstring eolString(row_type row, bool fragile, bool latex,
-                       bool last_eoln) const;
+       virtual void eol(TeXMathStream & os, row_type row, bool fragile, bool latex,
+                        bool last_eoln) 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