X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathStackrel.h;h=d6ac81518231201cc2608ea2c681b63d82e1f0d0;hb=5fdc577badb1cb133d6a0dc7d831bb1f82576adb;hp=75c07f7f6223b2d86ec2b10442bd181163b9aee8;hpb=e24bf64c68102691fc76081de9fb57926b482726;p=lyx.git diff --git a/src/mathed/InsetMathStackrel.h b/src/mathed/InsetMathStackrel.h index 75c07f7f62..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