1 #include "math_diffinset.h"
2 #include "math_support.h"
3 #include "math_mathmlstream.h"
4 #include "math_symbolinset.h"
8 MathDiffInset::MathDiffInset()
13 MathInset * MathDiffInset::clone() const
15 return new MathDiffInset(*this);
19 void MathDiffInset::addDer(MathArray const & der)
21 cells_.push_back(MathXArray());
22 cells_.back().data() = 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";