]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathEnsureMath.h
typo
[lyx.git] / src / mathed / InsetMathEnsureMath.h
index bbd4b80bc68adb1e3597ec2c4b6646b383006300..d0a60d036b0c3c7fbd2501cd0ca485276b881bbc 100644 (file)
 #ifndef MATH_ENSUREMATHINSET_H
 #define MATH_ENSUREMATHINSET_H
 
-#include "InsetMathNest.h"
+#include "InsetMathGrid.h"
 
 
 namespace lyx {
 
 
 /// Inset for ensuring math mode
-class InsetMathEnsureMath : public InsetMathNest {
+class InsetMathEnsureMath : public InsetMathGrid {
 public:
        explicit InsetMathEnsureMath(Buffer * buf);
        ///
@@ -34,7 +34,23 @@ public:
        ///
        void drawT(TextPainter & pi, int x, int y) const override;
        ///
-       void write(WriteStream & os) const override;
+       void addRow(row_type) override {}
+       ///
+       void delRow(row_type) override {}
+       ///
+       void swapRow(row_type) override {}
+       ///
+       void addCol(col_type) override {}
+       ///
+       void delCol(col_type) override {}
+       ///
+       docstring eolString(row_type, bool, bool, bool) const override
+       { return docstring(); }
+       ///
+       docstring eocString(col_type, col_type) const override
+       { return docstring(); }
+       ///
+       void write(TeXMathStream & os) const override;
        ///
        void mathmlize(MathMLStream &) const override;
        ///