X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathOverset.h;h=ac055e1dc92701fa749b9a9cea86114494eb54f1;hb=f6282dfec7c7d53fd92d7270f8806a39a9c5d75b;hp=4f397fdbf78216f38d88af468d86da1de558f673;hpb=e89625ef28143545a511cdabc67dee8b7be1b216;p=lyx.git diff --git a/src/mathed/InsetMathOverset.h b/src/mathed/InsetMathOverset.h index 4f397fdbf7..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,27 +13,42 @@ #define MATH_OVERSETINSET_H -#include "InsetMathFracBase.h" +#include "InsetMathFrac.h" + + +namespace lyx { /// Inset for overset class InsetMathOverset : public InsetMathFracBase { public: + /// + InsetMathOverset(Buffer * buf) : InsetMathFracBase(buf) {} /// void metrics(MetricsInfo & mi, Dimension & dim) const; /// void draw(PainterInfo & pi, int x, int y) const; /// - bool idxFirst(LCursor &) const; + bool idxFirst(Cursor &) const; /// - bool idxLast(LCursor &) const; + bool idxLast(Cursor &) const; /// void write(WriteStream & os) const; /// 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; }; + + +} // namespace lyx #endif