2 #ifndef MATH_MATRIXINSET_H
3 #define MATH_MATRIXINSET_H
5 #include "math_gridinset.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, int asc = 0, int des = 0);
32 void draw(Painter &, int, int);
34 string label(int row) const;
36 void label(int row, string const & label);
38 void numbered(int row, bool num);
40 bool numbered(int row) const;
42 bool numberedType() const;
48 std::vector<string> const getLabelList() const;
50 void Validate(LaTeXFeatures & features) const;
64 void mutate(string const &);
70 void Validate1(LaTeXFeatures & features);
72 void header_write(std::ostream &) const;
74 void footer_write(std::ostream &) const;
78 string nicelabel(int row) const;
81 std::vector<int> nonum_;
83 std::vector<string> label_;