X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathOverset.h;h=ac055e1dc92701fa749b9a9cea86114494eb54f1;hb=55a3dd7b346d29a52ba305a4558e9e380ef50f47;hp=078ccf55713971c2e39fadd75624bac044caeb14;hpb=32871c1284f15265f652ff01c438e539a7c8181f;p=lyx.git diff --git a/src/mathed/InsetMathOverset.h b/src/mathed/InsetMathOverset.h index 078ccf5571..ac055e1dc9 100644 --- a/src/mathed/InsetMathOverset.h +++ b/src/mathed/InsetMathOverset.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,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 doClone() const; + virtual Inset * clone() const; };