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