]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathUnderset.h
Revert "DocBook: make openParTag/closeTag use paragraphs instead of layouts."
[lyx.git] / src / mathed / InsetMathUnderset.h
index d0a8492439bac9540c6cafd1ee1ad7c6ced2e251..565f0d5cc4fc4ce20fc695b5bb89b6b278fe50f8 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -21,22 +21,29 @@ namespace lyx {
 /// Inset for underset
 class InsetMathUnderset : public InsetMathFracBase {
 public:
+       ///
+       explicit 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;
-       ///
-       bool idxLast(Cursor & cur) const;
+       bool idxFirst(Cursor &) const;
        ///
-       bool idxUpDown(Cursor & cur, bool up) const;
+       bool idxLast(Cursor &) const;
        ///
        void write(WriteStream & ws) const;
        ///
        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;
 };