mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
6cfb068d37
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2997 a592a061-630c-0410-9148-cb99ea01b6c8
55 lines
1.0 KiB
C
55 lines
1.0 KiB
C
#include "math_limitopinset.h"
|
|
#include "math_support.h"
|
|
#include "math_mathmlstream.h"
|
|
#include "math_symbolinset.h"
|
|
#include "debug.h"
|
|
|
|
|
|
MathLimitOpInset::MathLimitOpInset(MathScriptInset const & scripts,
|
|
MathArray const & core)
|
|
: int_(new MathSymbolInset("int")),
|
|
scripts_(scripts), core_(core)
|
|
{}
|
|
|
|
|
|
MathInset * MathLimitOpInset::clone() const
|
|
{
|
|
return new MathLimitOpInset(*this);
|
|
}
|
|
|
|
|
|
void MathLimitOpInset::write(WriteStream & os) const
|
|
{
|
|
scripts_.write(int_.nucleus(), os);
|
|
os << core_ << "d" << diff_;
|
|
}
|
|
|
|
|
|
void MathLimitOpInset::normalize(NormalStream & os) const
|
|
{
|
|
//os << "[int " << scripts_ << ' ' << core_ << ' ' << diff_ << ']'
|
|
}
|
|
|
|
|
|
void MathLimitOpInset::metrics(MathMetricsInfo const &) const
|
|
{
|
|
lyxerr << "should not happen\n";
|
|
}
|
|
|
|
|
|
void MathLimitOpInset::draw(Painter &, int, int) const
|
|
{
|
|
lyxerr << "should not happen\n";
|
|
}
|
|
|
|
|
|
void MathLimitOpInset::maplize(MapleStream & os) const
|
|
{
|
|
//os << name_.c_str() << '(' << cell(0) << ')';
|
|
}
|
|
|
|
void MathLimitOpInset::mathmlize(MathMLStream & os) const
|
|
{
|
|
//os << name_.c_str() << '(' << cell(0) << ')';
|
|
}
|