]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_arrayinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_arrayinset.h
index ce74bf261c64ff24b6fd38c36ca58cc360ab1f64..642e8bc1027c04ed36cadb25895cd01dee99bfb1 100644 (file)
@@ -4,13 +4,17 @@
 
 #include "math_gridinset.h"
 
-#ifdef __GNUG__
-#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(string const &, int m, int n);
        ///
@@ -21,18 +25,24 @@ public:
        /// convienience constructor from whitespace/newline seperated data
        MathArrayInset(string const &, string const & str);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
+       ///
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
-       void metrics(MathMetricsInfo const & st) const;
+       void draw(PainterInfo & 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 infoize(std::ostream & os) const;
+       ///
+       void normalize(NormalStream & os) const;
        ///
-       void maplize(MapleStream &) const;
+       void maple(MapleStream & os) const;
 
 private:
        ///