]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_braceinset.h
fix #1073
[lyx.git] / src / mathed / math_braceinset.h
index a240999731713eb09e54e35863d3c4d2f9a37d04..7ba25f3d6af41405ad2547716502e44e7900f964 100644 (file)
@@ -3,14 +3,12 @@
 #define MATH_BRACEINSET_H
 
 #include "math_nestinset.h"
-#include "math_metricsinfo.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 /** Extra nesting
-    \author André Pönitz
+ *  \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS
 */
 
 class MathBraceInset : public MathNestInset {
@@ -18,17 +16,29 @@ public:
        ///
        MathBraceInset();
        ///
+       MathBraceInset(MathArray const & ar);
+       ///
        MathInset * clone() const;
+       /// we write extra braces in any case...
+       bool extraBraces() const { return true; }
        ///
-       MathBraceInset * asBraceInset() { return this; }
+       void metrics(MetricsInfo & mi) const;
        ///
-       void draw(MathPainterInfo &, int x, int y) const;
+       void draw(PainterInfo &, int x, int y) const;
        ///
        void write(WriteStream & os) const;
        /// write normalized content
        void normalize(NormalStream & ns) const;
        ///
-       void metrics(MathMetricsInfo & mi) const;
+       void maple(MapleStream &) const;
+       ///
+       void mathematica(MathematicaStream &) const;
+       ///
+       void octave(OctaveStream &) const;
+       ///
+       void mathmlize(MathMLStream &) const;
+       ///
+       void infoize(std::ostream & os) const;
 
 private:
        /// width of brace character