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"
22 * \author André Pönitz
24 * Full author contact details are available in file CREDITS.
26 class InsetMathStackrel
: public InsetMathFracBase
{
29 InsetMathStackrel(Buffer
* buf
);
31 void metrics(MetricsInfo
& mi
, Dimension
& dim
) const;
33 void draw(PainterInfo
& pi
, int x
, int y
) const;
36 void write(WriteStream
& os
) const;
38 void normalize(NormalStream
&) const;
40 InsetCode
lyxCode() const { return MATH_STACKREL_CODE
; }
43 virtual Inset
* clone() const;