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