]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_arrayinset.h
small up/down tweaking
[lyx.git] / src / mathed / math_arrayinset.h
index 71888145c88a4470f6bcb351d2a6fe213abad548..d1acfbd3df7389d4313582f91ee33b28f62e3bd1 100644 (file)
@@ -8,15 +8,46 @@
 #pragma interface
 #endif
 
+/**
+ * Inset for things like \begin{array}...\end{array}
+ *
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS
+ */
 
 class MathArrayInset : public MathGridInset {
-public: 
+public:
        ///
-       MathArrayInset(int m, int n);
+       MathArrayInset(string const &, int m, int n);
        ///
-       virtual MathInset * clone() const;
+       MathArrayInset(string const &, int m, int n,
+               char valign, string const & halign);
        ///
-       void Write(std::ostream &, bool fragile) const;
+       MathArrayInset(string const &, char valign, string const & halign);
+       /// convienience constructor from whitespace/newline seperated data
+       MathArrayInset(string const &, string const & str);
+       ///
+       MathInset * clone() const;
+       ///
+       void metrics(MathMetricsInfo & mi) const;
+       ///
+       void draw(MathPainterInfo & pi, int x, int y) const;
+       ///
+       MathArrayInset * asArrayInset() { return this; }
+       ///
+       MathArrayInset const * asArrayInset() const { return this; }
+
+       ///
+       void write(WriteStream & os) const;
+       ///
+       void normalize(NormalStream &) const;
+       ///
+       void maplize(MapleStream &) const;
+
+private:
+       ///
+       string name_;
 };
 
 #endif