3 * \file InsetMathCases.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_CASESINSET_H
13 #define MATH_CASESINSET_H
15 #include "InsetMathGrid.h"
23 class InsetMathCases : public InsetMathGrid {
26 explicit InsetMathCases(row_type rows = 1u);
28 void metrics(MetricsInfo & mi, Dimension & dim) const;
30 void draw(PainterInfo & pi, int x, int y) const;
32 virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
34 bool getStatus(LCursor & cur, FuncRequest const & cmd,
35 FuncStatus & flag) const;
38 void infoize(odocstream & os) const;
40 void normalize(NormalStream &) const;
42 void maple(MapleStream &) const;
44 void write(WriteStream & os) const;
46 void validate(LaTeXFeatures & features) const;
48 virtual std::auto_ptr<InsetBase> doClone() const;