3 * \file InsetMathStackrel.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef MATH_STACKRELINSET_H
13 #define MATH_STACKRELINSET_H
15 #include "InsetMathFrac.h"
20 class InsetMathStackrel : public InsetMathFracBase {
23 InsetMathStackrel(Buffer * buf);
25 void metrics(MetricsInfo & mi, Dimension & dim) const;
27 void draw(PainterInfo & pi, int x, int y) const;
29 void write(WriteStream & os) const;
31 void normalize(NormalStream &) const;
33 void mathmlize(MathStream &) const;
35 void htmlize(HtmlStream &) const;
37 void validate(LaTeXFeatures &) const;
39 InsetCode lyxCode() const { return MATH_STACKREL_CODE; }
42 virtual Inset * clone() const;