]> git.lyx.org Git - lyx.git/blob - src/mathed/math_arrayinset.h
parse octave output as matrix if necessary
[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(int m, int n);
16         ///
17         MathArrayInset(int m, int n, char valign, string const & halign);
18         /// convienience constructor from whitespace/newline seperated data
19         MathArrayInset(string const & str);
20         ///
21         MathInset * clone() const;
22         ///
23         void write(MathWriteInfo & os) const;
24         ///
25         void writeNormal(std::ostream &) const;
26         ///
27         void metrics(MathMetricsInfo const & st) const;
28         ///
29         MathArrayInset * asArrayInset() { return this; }
30 };
31
32 #endif