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(der);
25 void MathDiffInset::normalize(NormalStream & os) const
28 for (idx_type idx = 0; idx < nargs(); ++idx)
29 os << ' ' << cell(idx);
34 void MathDiffInset::metrics(MathMetricsInfo &) const
36 lyxerr << "should not happen\n";
40 void MathDiffInset::draw(MathPainterInfo &, int, int) const
42 lyxerr << "should not happen\n";
46 void MathDiffInset::maplize(MapleStream & os) const
49 for (idx_type idx = 0; idx < nargs(); ++idx) {
58 void MathDiffInset::mathematicize(MathematicaStream & os) const
61 for (idx_type idx = 0; idx < nargs(); ++idx) {
70 void MathDiffInset::mathmlize(MathMLStream & os) const
73 for (idx_type idx = 0; idx < nargs(); ++idx) {
82 void MathDiffInset::write(WriteStream &) const
84 lyxerr << "should not happen\n";