X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathStackrel.h;h=d6ac81518231201cc2608ea2c681b63d82e1f0d0;hb=3a544072a522845b192594dd2ab11fcb1fc80eeb;hp=e9537b4580482fa4b6075ff080c5f7239d3dba0e;hpb=32871c1284f15265f652ff01c438e539a7c8181f;p=lyx.git diff --git a/src/mathed/InsetMathStackrel.h b/src/mathed/InsetMathStackrel.h index e9537b4580..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 metrics(MetricsInfo & mi, Dimension & dim) const; + 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