]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_substackinset.h
Fix math cursor positioning bug
[lyx.git] / src / mathed / math_substackinset.h
index ad2c3a26e6cd9b9d0b825a83dc482d175f24eb08..ca84d21e5817d3159f379c07df692ac7d8a6845b 100644 (file)
@@ -1,4 +1,14 @@
 // -*- C++ -*-
+/**
+ * \file math_substackinset.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_SUBSTACK_H
 #define MATH_SUBSTACK_H
 
@@ -12,9 +22,7 @@ public:
        ///
        MathSubstackInset();
        ///
-       MathInset * clone() const;
-       ///
-       void metrics(MetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -30,6 +38,10 @@ public:
        void normalize(NormalStream &) const;
        ///
        void maple(MapleStream &) const;
+       ///
+       void validate(LaTeXFeatures & features) const;
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
 #endif