]> git.lyx.org Git - lyx.git/blob - src/mathed/math_tabularinset.h
rename commandtags.h to lfuns.h and renumber/cleanup. Rebuild the tree !
[lyx.git] / src / mathed / math_tabularinset.h
1 // -*- C++ -*-
2 #ifndef MATH_TABULARINSET_H
3 #define MATH_TABULARINSET_H
4
5 #include "math_gridinset.h"
6
7
8 /**
9  * Inset for things like \begin{tabular}...\end{tabular}
10  *
11  * \author André Pönitz
12  *
13  * Full author contact details are available in file CREDITS
14  */
15
16 class MathTabularInset : public MathGridInset {
17 public:
18         ///
19         MathTabularInset(string const &, int m, int n);
20         ///
21         MathTabularInset(string const &, int m, int n,
22                 char valign, string const & halign);
23         ///
24         MathTabularInset(string const &, char valign, string const & halign);
25         ///
26         MathInset * clone() const;
27         ///
28         void metrics(MathMetricsInfo & mi) const;
29         ///
30         void draw(MathPainterInfo & pi, int x, int y) const;
31         ///
32         MathTabularInset * asTabularInset() { return this; }
33         ///
34         MathTabularInset const * asTabularInset() const { return this; }
35
36         ///
37         void write(WriteStream & os) const;
38         ///
39         void normalize(NormalStream &) const;
40         ///
41         void maple(MapleStream &) const;
42
43 private:
44         ///
45         string name_;
46 };
47
48 #endif