]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_xymatrixinset.h
Fix to bug 2362: Deleting superscript also deletes subscript.
[lyx.git] / src / mathed / math_xymatrixinset.h
index 32f16f9f37a0edfc472aacfc31e18aef2e468cce..d27e3e3832ed9f6b88b8861d4b2dba63ea9fb378 100644 (file)
@@ -1,19 +1,27 @@
 // -*- C++ -*-
+/**
+ * \file math_xymatrixinset.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
 #ifndef MATH_XYMATRIX_H
 #define MATH_XYMATRIX_H
 
+#include "lyxlength.h"
 #include "math_gridinset.h"
 
 
-
 class MathXYMatrixInset : public MathGridInset {
 public:
        ///
        MathXYMatrixInset();
        ///
-       MathInset * clone() const;
-       ///
-       void metrics(MathMetricsInfo & st) const;
+       void metrics(MetricsInfo &, Dimension &) const;
        ///
        MathXYMatrixInset const * asXYMatrixInset() const { return this; }
        ///
@@ -26,9 +34,14 @@ public:
        ///
        void write(WriteStream & os) const;
        ///
+       void infoize(std::ostream & os) const;
+       ///
        void normalize(NormalStream &) const;
        ///
        void maple(MapleStream &) const;
+private:
+       ///
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
 #endif