3 * \file InsetMathSplit.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_SPLITINSET_H
13 #define MATH_SPLITINSET_H
15 #include "InsetMathGrid.h"
21 class InsetMathSplit
: public InsetMathGrid
{
24 explicit InsetMathSplit(docstring
const & name
, char valign
= 'c');
26 void draw(PainterInfo
& pi
, int x
, int y
) const;
28 bool getStatus(Cursor
& cur
, FuncRequest
const & cmd
,
29 FuncStatus
& flag
) const;
31 void write(WriteStream
& os
) const;
33 void infoize(odocstream
& os
) const;
35 void validate(LaTeXFeatures
& features
) const;
37 int defaultColSpace(col_type
) { return 0; }
39 char defaultColAlign(col_type
);
41 InsetCode
lyxCode() const { return MATH_SPLIT_CODE
; }
45 virtual Inset
* clone() const;