///
explicit MathMatrixInset(MathInsetTypes t);
///
+ MathMatrixInset(MathInsetTypes t, unsigned int cols);
+ ///
MathInset * clone() const;
///
- void Write(std::ostream &, bool fragile) const;
+ void write(std::ostream &, bool fragile) const;
///
- void Metrics(MathStyles st, int asc = 0, int des = 0);
+ void metrics(MathStyles st) const;
///
- void draw(Painter &, int, int);
+ void draw(Painter &, int x, int y) const;
///
- string label(int row) const;
+ string label(unsigned int row) const;
///
- void label(int row, string const & label);
+ void label(unsigned int row, string const & label);
///
- void numbered(int row, bool num);
+ void numbered(unsigned int row, bool num);
///
- bool numbered(int row) const;
+ bool numbered(unsigned int row) const;
///
bool numberedType() const;
///
///
std::vector<string> const getLabelList() const;
///
- void Validate(LaTeXFeatures & features) const;
+ void validate(LaTeXFeatures & features) const;
///
- void addRow(int);
+ void addRow(unsigned int);
///
- void delRow(int);
+ void delRow(unsigned int);
///
- void addCol(int);
+ void addCol(unsigned int);
///
- void delCol(int);
+ void delCol(unsigned int);
///
void appendRow();
/// change type
void mutate(string const &);
///
- void mutate(short);
+ void mutate(MathInsetTypes);
+
+ ///
+ int defaultColSpace(unsigned int col);
+ ///
+ char defaultColAlign(unsigned int col);
+
+ ///
+ MathInsetTypes getType() const;
private:
///
- void Validate1(LaTeXFeatures & features);
+ void setType(MathInsetTypes t);
+ ///
+ void validate1(LaTeXFeatures & features);
///
void header_write(std::ostream &) const;
///
///
void glueall();
///
- string nicelabel(int row) const;
+ string nicelabel(unsigned int row) const;
+ ///
+ MathInsetTypes objtype_;
///
std::vector<int> nonum_;
///