2 #ifndef MATH_MATRIXINSET_H
3 #define MATH_MATRIXINSET_H
11 /** Multiline math paragraph base class.
12 This is the base to all multiline editable math objects
13 like array and eqnarray.
14 \author Alejandro Aguilar Sierra
19 class MathMatrixInset : public MathGridInset {
24 explicit MathMatrixInset(MathInsetTypes t);
26 MathInset * Clone() const;
28 void Write(std::ostream &, bool fragile) const;
30 void Metrics(MathStyles st);
34 void draw(Painter &, int, int);
36 string label(int row) const;
38 void label(int row, string const & label);
40 void numbered(int row, bool num);
42 bool numbered(int row) const;
44 bool numberedType() const;
50 vector<string> const getLabelList() const;
52 void Validate(LaTeXFeatures & features);
66 void mutate(string const &);
70 /// Splits cells and shifts right part to the next cell
71 void splitCell(int idx);
75 void Validate1(LaTeXFeatures & features);
77 void header_write(std::ostream &) const;
79 void footer_write(std::ostream &) const;
83 string nicelabel(int row) const;
86 std::vector<int> nonum_;
88 std::vector<string> label_;