]> git.lyx.org Git - lyx.git/blob - src/mathed/math_parinset.C
add #pragme interface/implementation
[lyx.git] / src / mathed / math_parinset.C
1
2 #ifdef __GNUG__
3 #pragma implementation 
4 #endif
5
6 #include <config.h>
7
8 #include "math_parinset.h"
9 #include "math_mathmlstream.h"
10 #include "support/LOstream.h"
11
12
13 MathParInset::MathParInset(MathArray const & ar)
14 {
15         cells_[0] = ar;
16 }
17
18
19 void MathParInset::metrics(MathMetricsInfo & mi) const
20 {
21         MathFontSetChanger dummy1(mi.base, "textnormal");
22         MathGridInset::metrics(mi);
23 }
24
25
26 void MathParInset::draw(MathPainterInfo & pi, int x, int y) const
27 {
28         MathFontSetChanger dummy1(pi.base, "textnormal");
29         MathGridInset::draw(pi, x, y);
30 }
31
32
33 void MathParInset::write(WriteStream & os) const
34 {
35         for (idx_type i = 0; i < nargs(); ++i)
36                 os << cell(i) << "\n";
37 }
38
39
40 void MathParInset::infoize(std::ostream & os) const
41 {
42         os << "Type: Paragraph ";
43 }