]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_arrayinset.h
enable direct input of #1...#9; some whitespace changes
[lyx.git] / src / mathed / math_arrayinset.h
index 8661877c37480b5334c0601ddb689717306737b6..d09dae7e8aa1f3c415d0961f65d22947208fe6e2 100644 (file)
@@ -2,7 +2,7 @@
 #ifndef MATH_ARRAYINSET_H
 #define MATH_ARRAYINSET_H
 
-#include "math_grid.h"
+#include "math_gridinset.h"
 
 #ifdef __GNUG__
 #pragma interface
@@ -14,9 +14,24 @@ public:
        ///
        MathArrayInset(int m, int n);
        ///
-       virtual MathInset * clone() const;
+       MathArrayInset(int m, int n, char valign, string const & halign);
        ///
-       void Write(std::ostream &, bool fragile) const;
+       MathArrayInset(char valign, string const & halign);
+       /// convienience constructor from whitespace/newline seperated data
+       MathArrayInset(string const & str);
+       ///
+       MathInset * clone() const;
+       ///
+       void metrics(MathMetricsInfo const & st) const;
+       ///
+       MathArrayInset * asArrayInset() { return this; }
+
+       ///
+       void write(WriteStream & os) const;
+       ///
+       void normalize(NormalStream &) const;
+       ///
+       void maplize(MapleStream &) const;
 };
 
 #endif