2 #ifndef MATH_BRACEINSET_H
3 #define MATH_BRACEINSET_H
5 #include "math_nestinset.h"
15 class MathBraceInset : public MathNestInset {
20 MathBraceInset(MathArray const & ar);
22 MathInset * clone() const;
23 /// we write extra braces in any case...
24 bool extraBraces() const { return true; }
26 void metrics(MathMetricsInfo & mi) const;
28 void draw(MathPainterInfo &, int x, int y) const;
30 void write(WriteStream & os) const;
31 /// write normalized content
32 void normalize(NormalStream & ns) const;
34 void maplize(MapleStream &) const;
36 void mathematicize(MathematicaStream &) const;
38 void octavize(OctaveStream &) const;
40 void mathmlize(MathMLStream &) const;
42 void infoize(std::ostream & os) const;
45 /// width of brace character