3 * \file math_undersetinset.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_UNDERSETINSET_H
13 #define MATH_UNDERSETINSET_H
16 #include "math_fracbase.h"
18 /// Inset for underset
19 class MathUndersetInset : public MathFracbaseInset {
22 void metrics(MetricsInfo & mi, Dimension & dim) const;
24 void draw(PainterInfo & pi, int x, int y) const;
26 bool idxFirst(LCursor & cur) const;
28 bool idxLast(LCursor & cur) const;
30 bool idxUpDown(LCursor & cur, bool up) const;
32 void write(WriteStream & ws) const;
34 void normalize(NormalStream & ns) const;
36 void validate(LaTeXFeatures & features) const;
38 virtual std::auto_ptr<InsetBase> doClone() const;