class LaTeXFeatures;
class MathHullInset : public MathGridInset {
-public:
+public:
///
MathHullInset();
///
explicit MathHullInset(MathInsetTypes t);
///
+ MathHullInset(MathInsetTypes t, MathGridInset const & grid);
+ ///
MathHullInset(MathInsetTypes t, col_type cols);
///
MathInset * clone() const;
///
- void write(MathWriteInfo & os) const;
- ///
- void writeNormal(NormalStream &) const;
- ///
void metrics(MathMetricsInfo const & st) const;
///
void draw(Painter &, int x, int y) const;
///
+ void metricsT(TextMetricsInfo const & st) const;
+ ///
+ void drawT(TextPainter &, int x, int y) const;
+ ///
string label(row_type row) const;
///
void label(row_type row, string const & label);
///
void validate(LaTeXFeatures & features) const;
/// identifies MatrixInsets
- virtual MathHullInset const * asMatrixInset() const { return this; }
- /// identifies MatrixInsets
- virtual MathHullInset * asMatrixInset() { return this; }
+ MathHullInset const * asHullInset() const { return this; }
+ /// identifies HullInset
+ MathHullInset * asHullInset() { return this; }
///
void addRow(row_type);
///
MathInsetTypes getType() const;
///
+ void write(WriteStream & os) const;
+ ///
void mathmlize(MathMLStream &) const;
+ ///
+ void normalize(NormalStream &) const;
private:
///
///
void validate1(LaTeXFeatures & features);
///
- void header_write(std::ostream &) const;
+ void header_write(WriteStream &) const;
///
- void footer_write(std::ostream &) const;
+ void footer_write(WriteStream &) const;
///
void glueall();
///
string nicelabel(row_type row) const;
+ /// consistency check
+ void check() const;
///
MathInsetTypes objtype_;