X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathStackrel.h;h=d6ac81518231201cc2608ea2c681b63d82e1f0d0;hb=5fdc577badb1cb133d6a0dc7d831bb1f82576adb;hp=8d9cfc006f85cab901b630fd409b7d634876d159;hpb=e89625ef28143545a511cdabc67dee8b7be1b216;p=lyx.git diff --git a/src/mathed/InsetMathStackrel.h b/src/mathed/InsetMathStackrel.h index 8d9cfc006f..d6ac815182 100644 --- a/src/mathed/InsetMathStackrel.h +++ b/src/mathed/InsetMathStackrel.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. */ @@ -12,29 +12,39 @@ #ifndef MATH_STACKRELINSET_H #define MATH_STACKRELINSET_H -#include "InsetMathFracBase.h" +#include "InsetMathFrac.h" -/** Stackrel objects - * \author André Pönitz - * - * Full author contact details are available in file CREDITS. - */ +namespace lyx { + class InsetMathStackrel : public InsetMathFracBase { public: /// - InsetMathStackrel(); + InsetMathStackrel(Buffer * buf, bool sub); + /// + bool idxUpDown(Cursor &, bool up) const; + /// + MathClass mathClass() const; /// void metrics(MetricsInfo & mi, Dimension & dim) const; /// void draw(PainterInfo & pi, int x, int y) const; - /// void write(WriteStream & os) const; /// void normalize(NormalStream &) const; + /// + void mathmlize(MathStream &) const; + /// + void htmlize(HtmlStream &) const; + /// + void validate(LaTeXFeatures &) const; + /// + InsetCode lyxCode() const { return MATH_STACKREL_CODE; } + private: - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; }; +} // namespace lyx #endif