]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_gridinset.h
change output to uses streams instead of strings
[lyx.git] / src / mathed / math_gridinset.h
index 8253ec30663bf7c4fb2b92fdbf552114a4300ae9..c6de00adcff413fd495709e0b67bdd85b70abf4e 100644 (file)
@@ -64,11 +64,11 @@ public:
        ///
        MathGridInset(int m, int n, char valign, string const & halign);
        ///
-       void write(std::ostream &, bool fragile) const;
+       void write(MathWriteInfo & os) const;
        ///
        void writeNormal(std::ostream &) const;
        ///
-       void metrics(MathStyles st) const;
+       void metrics(MathMetricsInfo const & st) const;
        ///
        void draw(Painter &, int x, int y) const;
        ///
@@ -120,6 +120,10 @@ public:
        ///
        bool idxLast(idx_type &, pos_type &) const;
        ///
+       bool idxHome(idx_type &, pos_type &) const;
+       ///
+       bool idxEnd(idx_type &, pos_type &) const;
+       ///
        void idxDelete(idx_type &, bool &, bool &);
        ///
        void idxDeleteRange(idx_type, idx_type);
@@ -145,6 +149,11 @@ public:
        ///
        void setDefaults();
 
+       ///
+       void octavize(OctaveStream &) const;
+       ///
+       void maplize(MapleStream &) const;
+
 protected:
        /// returns proper 'end of line' code for LaTeX
        string eolString(row_type row) const;