5 #include "math_diffinset.h"
6 #include "math_support.h"
7 #include "math_mathmlstream.h"
8 #include "math_symbolinset.h"
12 MathDiffInset::MathDiffInset()
17 MathInset * MathDiffInset::clone() const
19 return new MathDiffInset(*this);
23 void MathDiffInset::addDer(MathArray const & der)
25 cells_.push_back(der);
29 void MathDiffInset::normalize(NormalStream & os) const
32 for (idx_type idx = 0; idx < nargs(); ++idx)
33 os << ' ' << cell(idx);
38 void MathDiffInset::metrics(MathMetricsInfo &) const
40 lyxerr << "should not happen\n";
44 void MathDiffInset::draw(MathPainterInfo &, int, int) const
46 lyxerr << "should not happen\n";
50 void MathDiffInset::maplize(MapleStream & os) const
53 for (idx_type idx = 0; idx < nargs(); ++idx) {
62 void MathDiffInset::mathematicize(MathematicaStream & os) const
65 for (idx_type idx = 0; idx < nargs(); ++idx) {
74 void MathDiffInset::mathmlize(MathMLStream & os) const
77 for (idx_type idx = 0; idx < nargs(); ++idx) {
86 void MathDiffInset::write(WriteStream &) const
88 lyxerr << "should not happen\n";