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(Buffer * buf, docstring const & name,
25 char valign = 'c', bool numbered = false);
27 void draw(PainterInfo & pi, int x, int y) const;
29 bool getStatus(Cursor & cur, FuncRequest const & cmd,
30 FuncStatus & flag) const;
32 void write(WriteStream & os) const;
34 void infoize(odocstream & os) const;
36 void mathmlize(MathStream &) const;
38 void htmlize(HtmlStream &) const;
40 void validate(LaTeXFeatures & features) const;
42 int defaultColSpace(col_type) { return 0; }
44 int displayColSpace(col_type col) const;
46 char defaultColAlign(col_type);
48 char displayColAlign(idx_type idx) const;
50 InsetCode lyxCode() const { return MATH_SPLIT_CODE; }
54 virtual Inset * clone() const;