1 #include "math_limitopinset.h"
2 #include "math_support.h"
3 #include "math_mathmlstream.h"
4 #include "math_symbolinset.h"
8 MathLimitOpInset::MathLimitOpInset(MathScriptInset const & scripts,
9 MathArray const & core)
10 : int_(new MathSymbolInset("int")),
11 scripts_(scripts), core_(core)
15 MathInset * MathLimitOpInset::clone() const
17 return new MathLimitOpInset(*this);
21 void MathLimitOpInset::write(WriteStream & os) const
23 scripts_.write(int_.nucleus(), os);
24 os << core_ << "d" << diff_;
28 void MathLimitOpInset::normalize(NormalStream & os) const
30 //os << "[int " << scripts_ << ' ' << core_ << ' ' << diff_ << ']'
34 void MathLimitOpInset::metrics(MathMetricsInfo const &) const
36 lyxerr << "should not happen\n";
40 void MathLimitOpInset::draw(Painter &, int, int) const
42 lyxerr << "should not happen\n";
46 void MathLimitOpInset::maplize(MapleStream & os) const
48 //os << name_.c_str() << '(' << cell(0) << ')';
51 void MathLimitOpInset::mathmlize(MathMLStream & os) const
53 //os << name_.c_str() << '(' << cell(0) << ')';