2 #ifndef MATH_MATRIXINSET_H
3 #define MATH_MATRIXINSET_H
13 /** Multiline math paragraph base class.
14 This is the base to all multiline editable math objects
15 like array and eqnarray.
16 \author Alejandro Aguilar Sierra
21 class MathMatrixInset : public MathGridInset {
26 explicit MathMatrixInset(MathInsetTypes t);
28 MathInset * clone() const;
30 void Write(std::ostream &, bool fragile) const;
32 void Metrics(MathStyles st, int asc = 0, int des = 0);
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 std::vector<string> const getLabelList() const;
52 void Validate(LaTeXFeatures & features) const;
66 void mutate(string const &);
72 void Validate1(LaTeXFeatures & features);
74 void header_write(std::ostream &) const;
76 void footer_write(std::ostream &) const;
80 string nicelabel(int row) const;
83 std::vector<int> nonum_;
85 std::vector<string> label_;