X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathStackrel.h;h=d6ac81518231201cc2608ea2c681b63d82e1f0d0;hb=02e82157ec583c3900e359de86be79fac6512387;hp=5799df27490269e7d20c2daf8b4de19bf6dc6ff4;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/mathed/InsetMathStackrel.h b/src/mathed/InsetMathStackrel.h index 5799df2749..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,35 +12,39 @@ #ifndef MATH_STACKRELINSET_H #define MATH_STACKRELINSET_H -#include "InsetMathFracBase.h" +#include "InsetMathFrac.h" namespace lyx { - -/** Stackrel objects - * \author André Pönitz - * - * Full author contact details are available in file CREDITS. - */ 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