3 #include "math_diffinset.h"
4 #include "math_support.h"
5 #include "math_mathmlstream.h"
6 #include "math_symbolinset.h"
13 MathDiffInset::MathDiffInset()
18 auto_ptr<InsetBase> MathDiffInset::clone() const
20 return auto_ptr<InsetBase>(new MathDiffInset(*this));
24 void MathDiffInset::addDer(MathArray const & der)
26 cells_.push_back(der);
30 void MathDiffInset::normalize(NormalStream & os) const
33 for (idx_type idx = 0; idx < nargs(); ++idx)
34 os << ' ' << cell(idx);
39 void MathDiffInset::metrics(MetricsInfo &, Dimension &) const
41 lyxerr << "should not happen" << endl;
45 void MathDiffInset::draw(PainterInfo &, int, int) const
47 lyxerr << "should not happen" << endl;
51 void MathDiffInset::maple(MapleStream & os) const
54 for (idx_type idx = 0; idx < nargs(); ++idx) {
63 void MathDiffInset::mathematica(MathematicaStream & os) const
66 for (idx_type idx = 0; idx < nargs(); ++idx) {
75 void MathDiffInset::mathmlize(MathMLStream & os) const
78 for (idx_type idx = 0; idx < nargs(); ++idx) {
87 void MathDiffInset::write(WriteStream &) const
89 lyxerr << "should not happen" << endl;