* 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.
*/
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);
///
- void metrics(MetricsInfo & mi, Dimension & dim) const;
+ bool idxUpDown(Cursor &, bool up) const override;
///
- void draw(PainterInfo & pi, int x, int y) const;
-
+ bool idxFirst(Cursor &) const override;
+ ///
+ bool idxLast(Cursor &) const override;
+ ///
+ MathClass mathClass() const override;
+ ///
+ void metrics(MetricsInfo & mi, Dimension & dim) const override;
///
- void write(WriteStream & os) const;
+ void draw(PainterInfo & pi, int x, int y) const override;
///
- void normalize(NormalStream &) const;
+ void write(TeXMathStream & os) const override;
+ ///
+ void normalize(NormalStream &) const override;
+ ///
+ void mathmlize(MathMLStream &) const override;
+ ///
+ void htmlize(HtmlStream &) const override;
+ ///
+ void validate(LaTeXFeatures &) const override;
+ ///
+ InsetCode lyxCode() const override { return MATH_STACKREL_CODE; }
+
private:
- virtual Inset * clone() const;
+ Inset * clone() const override;
};
-
-
} // namespace lyx
#endif