]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_arrayinset.h
Make Helge happy: no more crash on arrow up/down in math macro
[lyx.git] / src / mathed / math_arrayinset.h
index 818ac49b4d57d14b2fbb97ee992d8550013301d6..f3f9b7d5ee465404a0650bb37ecceff3638c7434 100644 (file)
 class MathArrayInset : public MathGridInset {
 public:
        ///
-       MathArrayInset(string const &, int m, int n);
+       MathArrayInset(std::string const &, int m, int n);
        ///
-       MathArrayInset(string const &, int m, int n,
-               char valign, string const & halign);
+       MathArrayInset(std::string const &, int m, int n,
+               char valign, std::string const & halign);
        ///
-       MathArrayInset(string const &, char valign, string const & halign);
-       /// convienience constructor from whitespace/newline seperated data
-       MathArrayInset(string const &, string const & str);
-       ///
-       virtual std::auto_ptr<InsetBase> clone() const;
+       MathArrayInset(std::string const &, char valign, std::string const & halign);
+       /// convenience constructor from whitespace/newline separated data
+       MathArrayInset(std::string const &, std::string const & str);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
@@ -46,10 +44,12 @@ public:
        void normalize(NormalStream & os) const;
        ///
        void maple(MapleStream & os) const;
-
+       ///
+       void validate(LaTeXFeatures & features) const;
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        ///
-       string name_;
+       std::string name_;
 };
 
 #endif