]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathUnderset.h
Removed unused private variable
[lyx.git] / src / mathed / InsetMathUnderset.h
index 51311e6c6fb56e6a5c06a449c6c49dbf9395d9f5..ff671adccba7c77a44a0cd4b87010d022fb07301 100644 (file)
@@ -21,14 +21,16 @@ namespace lyx {
 /// Inset for underset
 class InsetMathUnderset : public InsetMathFracBase {
 public:
+       ///
+       InsetMathUnderset(Buffer * buf) : InsetMathFracBase(buf) {}
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
-       bool idxFirst(Cursor & cur) const;
+       idx_type firstIdx() const { return 1; }
        ///
-       bool idxLast(Cursor & cur) const;
+       idx_type lastIdx() const { return 1; }
        ///
        bool idxUpDown(Cursor & cur, bool up) const;
        ///
@@ -36,7 +38,14 @@ public:
        ///
        void normalize(NormalStream & ns) const;
        ///
+       void mathmlize(MathStream &) const;
+       ///
+       void htmlize(HtmlStream &) const;
+       ///
        void validate(LaTeXFeatures & features) const;
+       ///
+       InsetCode lyxCode() const { return MATH_UNDERSET_CODE; }
+
 private:
        virtual Inset * clone() const;
 };