]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathKern.h
Fix CSS
[lyx.git] / src / mathed / InsetMathKern.h
index 6bafa80ca7eb6e74d315e22e0dbe3b4674446cd0..c562250a363b00ab9b10c2074c8bcd5067ab7093 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,8 @@
 #define MATH_CHEATINSET_H
 
 #include "InsetMath.h"
-#include "Length.h"
+
+#include "support/Length.h"
 
 
 namespace lyx {
@@ -31,15 +32,24 @@ public:
        ///
        explicit InsetMathKern(docstring const & wid);
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const override;
+       ///
+       void draw(PainterInfo & pi, int x, int y) const override;
+       ///
+       void write(TeXMathStream & os) const override;
        ///
-       void draw(PainterInfo & pi, int x, int y) const;
+       void normalize(NormalStream & ns) const override;
        ///
-       void write(WriteStream & os) const;
+       void mathmlize(MathMLStream &) const override { }
        ///
-       void normalize(NormalStream & ns) const;
+       void htmlize(HtmlStream &) const override { }
+       ///
+       void infoize2(odocstream & os) const override;
+       ///
+       InsetCode lyxCode() const override { return MATH_KERN_CODE; }
+
 private:
-       virtual Inset * clone() const;
+       Inset * clone() const override;
        /// width in em
        Length wid_;
 };