lyx_mirror/src/mathed/math_parinset.C
André Pönitz a37064c0ac add #pragme interface/implementation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5263 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-11 09:14:57 +00:00

44 lines
731 B
C

#ifdef __GNUG__
#pragma implementation
#endif
#include <config.h>
#include "math_parinset.h"
#include "math_mathmlstream.h"
#include "support/LOstream.h"
MathParInset::MathParInset(MathArray const & ar)
{
cells_[0] = ar;
}
void MathParInset::metrics(MathMetricsInfo & mi) const
{
MathFontSetChanger dummy1(mi.base, "textnormal");
MathGridInset::metrics(mi);
}
void MathParInset::draw(MathPainterInfo & pi, int x, int y) const
{
MathFontSetChanger dummy1(pi.base, "textnormal");
MathGridInset::draw(pi, x, y);
}
void MathParInset::write(WriteStream & os) const
{
for (idx_type i = 0; i < nargs(); ++i)
os << cell(i) << "\n";
}
void MathParInset::infoize(std::ostream & os) const
{
os << "Type: Paragraph ";
}