]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_substackinset.h
the DocIterator stuff
[lyx.git] / src / mathed / math_substackinset.h
index 1e152c15674a6f3fb6eee06baea02be703b68b48..1f4dcdc2095537a638a7a43863ddfc3ebdebe1df 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,9 @@ public:
        ///
        MathSubstackInset();
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
-       Dimension metrics(MetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///