3 * \file math_braceinset.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef MATH_BRACEINSET_H
13 #define MATH_BRACEINSET_H
15 #include "math_nestinset.h"
19 class MathBraceInset : public MathNestInset {
24 MathBraceInset(MathArray const & ar);
26 MathBraceInset const * asBraceInset() const { return this; }
27 /// we write extra braces in any case...
28 bool extraBraces() const { return true; }
30 void metrics(MetricsInfo & mi, Dimension & dim) const;
32 void draw(PainterInfo &, int x, int y) const;
34 void write(WriteStream & os) const;
35 /// write normalized content
36 void normalize(NormalStream & ns) const;
38 void maple(MapleStream &) const;
40 void mathematica(MathematicaStream &) const;
42 void octave(OctaveStream &) const;
44 void mathmlize(MathMLStream &) const;
46 void infoize(std::ostream & os) const;
48 virtual std::auto_ptr<InsetBase> doClone() const;