X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathOverset.h;h=ac055e1dc92701fa749b9a9cea86114494eb54f1;hb=28be7d552f62cc02fa86d7f79201d089bfb2d7b5;hp=cb157815917f8f9000408158454ec9406a86c638;hpb=42123ab8a71080b6d15fca4e0c43ae76abf00a1e;p=lyx.git diff --git a/src/mathed/InsetMathOverset.h b/src/mathed/InsetMathOverset.h index cb15781591..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; };