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 Dimension MathDiffInset::metrics(MetricsInfo &) const
37 lyxerr << "should not happen\n";
42 void MathDiffInset::draw(PainterInfo &, int, int) const
44 lyxerr << "should not happen\n";
48 void MathDiffInset::maple(MapleStream & os) const
51 for (idx_type idx = 0; idx < nargs(); ++idx) {
60 void MathDiffInset::mathematica(MathematicaStream & os) const
63 for (idx_type idx = 0; idx < nargs(); ++idx) {
72 void MathDiffInset::mathmlize(MathMLStream & os) const
75 for (idx_type idx = 0; idx < nargs(); ++idx) {
84 void MathDiffInset::write(WriteStream &) const
86 lyxerr << "should not happen\n";