]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathArray.h
Improve support for on screen length calculation
[lyx.git] / src / mathed / InsetMathArray.h
index f6901bed161342e5eaff896c6b79696e933523c8..79236882c7198ed87f9ed857567aa19704e29130 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -22,12 +22,12 @@ namespace lyx {
 class InsetMathArray : public InsetMathGrid {
 public:
        ///
-       InsetMathArray(docstring const &, int m, int n);
+       InsetMathArray(Buffer * buf, docstring const &, int m, int n);
        ///
-       InsetMathArray(docstring const &, int m, int n,
+       InsetMathArray(Buffer * buf, docstring const &, int m, int n,
                char valign, docstring const & halign);
        /// convenience constructor from whitespace/newline separated data
-       InsetMathArray(docstring const &, docstring const & str);
+       InsetMathArray(Buffer * buf, docstring const &, docstring const & str);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -49,6 +49,8 @@ public:
        void maple(MapleStream & os) const;
        ///
        void validate(LaTeXFeatures & features) const;
+       ///
+       InsetCode lyxCode() const { return MATH_ARRAY_CODE; }
 private:
        virtual Inset * clone() const;
        ///