X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmathed%2FInsetMathKern.h;h=c562250a363b00ab9b10c2074c8bcd5067ab7093;hb=3800036b2a376c3ce808386eda0568f2f627d2d1;hp=6bafa80ca7eb6e74d315e22e0dbe3b4674446cd0;hpb=237c132c1e6fc720b87f2fea6deb18a8395cbe0a;p=lyx.git diff --git a/src/mathed/InsetMathKern.h b/src/mathed/InsetMathKern.h index 6bafa80ca7..c562250a36 100644 --- a/src/mathed/InsetMathKern.h +++ b/src/mathed/InsetMathKern.h @@ -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_; };