mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
990069f546
aehm... move things from the parbox inset to an abstract base class 'MathTextInset' and have a shot on implementing an ERT inset on top of that. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4819 a592a061-630c-0410-9148-cb99ea01b6c8
33 lines
580 B
C
33 lines
580 B
C
|
|
#include "math_parinset.h"
|
|
#include "math_mathmlstream.h"
|
|
#include "debug.h"
|
|
|
|
|
|
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 ";
|
|
}
|
|
|