]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_braceinset.h
small up/down tweaking
[lyx.git] / src / mathed / math_braceinset.h
index d53af2dc350d64010a034272306fafa3d0851c6f..cc2a2eaae2b60962aeccaaf8b919c2984d40fb90 100644 (file)
@@ -3,14 +3,15 @@
 #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 +19,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(MathMetricsInfo & mi) const;
        ///
        void draw(MathPainterInfo &, int x, int y) const;
        ///
        void write(WriteStream & os) const;
        /// write normalized content
-       void normalize(NormalStream &) const;
+       void normalize(NormalStream & ns) const;
+       ///
+       void maplize(MapleStream &) const;
+       ///
+       void mathematicize(MathematicaStream &) const;
+       ///
+       void octavize(OctaveStream &) const;
+       ///
+       void mathmlize(MathMLStream &) const;
        ///
-       void metrics(MathMetricsInfo & st) const;
+       void infoize(std::ostream & os) const;
 
 private:
        /// width of brace character