]> git.lyx.org Git - lyx.git/blob - src/mathed/math_arrayinset.h
oh well
[lyx.git] / src / mathed / math_arrayinset.h
1 // -*- C++ -*-
2 #ifndef MATH_ARRAYINSET_H
3 #define MATH_ARRAYINSET_H
4
5 #include "math_gridinset.h"
6
7 #ifdef __GNUG__
8 #pragma interface
9 #endif
10
11
12 class MathArrayInset : public MathGridInset {
13 public:
14         ///
15         MathArrayInset(string const &, int m, int n);
16         ///
17         MathArrayInset(string const &, int m, int n,
18                 char valign, string const & halign);
19         ///
20         MathArrayInset(string const &, char valign, string const & halign);
21         /// convienience constructor from whitespace/newline seperated data
22         MathArrayInset(string const &, string const & str);
23         ///
24         MathInset * clone() const;
25         ///
26         void metrics(MathMetricsInfo const & st) const;
27         ///
28         MathArrayInset * asArrayInset() { return this; }
29
30         ///
31         void write(WriteStream & os) const;
32         ///
33         void normalize(NormalStream &) const;
34         ///
35         void maplize(MapleStream &) const;
36
37 private:
38         ///
39         string name_;
40 };
41
42 #endif