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