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