2 #include "math_diffinset.h"
3 #include "math_support.h"
4 #include "math_mathmlstream.h"
5 #include "math_symbolinset.h"
9 MathDiffInset::MathDiffInset()
14 MathInset * MathDiffInset::clone() const
16 return new MathDiffInset(*this);
20 void MathDiffInset::addDer(MathArray const & der)
22 cells_.push_back(der);
26 void MathDiffInset::normalize(NormalStream & os) const
29 for (idx_type idx = 0; idx < nargs(); ++idx)
30 os << ' ' << cell(idx);
35 void MathDiffInset::metrics(MathMetricsInfo &) const
37 lyxerr << "should not happen\n";
41 void MathDiffInset::draw(MathPainterInfo &, int, int) const
43 lyxerr << "should not happen\n";
47 void MathDiffInset::maplize(MapleStream & os) const
50 for (idx_type idx = 0; idx < nargs(); ++idx) {
59 void MathDiffInset::mathematicize(MathematicaStream & os) const
62 for (idx_type idx = 0; idx < nargs(); ++idx) {
71 void MathDiffInset::mathmlize(MathMLStream & os) const
74 for (idx_type idx = 0; idx < nargs(); ++idx) {
83 void MathDiffInset::write(WriteStream &) const
85 lyxerr << "should not happen\n";