]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathOverset.h
Account for old versions of Pygments
[lyx.git] / src / mathed / InsetMathOverset.h
index cb157815917f8f9000408158454ec9406a86c638..ac055e1dc92701fa749b9a9cea86114494eb54f1 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.
  */
@@ -13,7 +13,7 @@
 #define MATH_OVERSETINSET_H
 
 
-#include "InsetMathFracBase.h"
+#include "InsetMathFrac.h"
 
 
 namespace lyx {
@@ -22,7 +22,9 @@ namespace lyx {
 class InsetMathOverset : public InsetMathFracBase {
 public:
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       InsetMathOverset(Buffer * buf) : InsetMathFracBase(buf) {}
+       ///
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -34,9 +36,16 @@ public:
        ///
        void normalize(NormalStream &) const;
        ///
+       void mathmlize(MathStream &) const;
+       ///
+       void htmlize(HtmlStream &) const;
+       ///
        void validate(LaTeXFeatures & features) const;
+       ///
+       InsetCode lyxCode() const { return MATH_OVERSET_CODE; }
+
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };