1 #include "math_diffinset.h"
2 #include "math_support.h"
3 #include "math_mathmlstream.h"
4 #include "math_symbolinset.h"
10 MathDiffInset::MathDiffInset()
15 auto_ptr<InsetBase> MathDiffInset::clone() const
17 return auto_ptr<InsetBase>(new MathDiffInset(*this));
21 void MathDiffInset::addDer(MathArray const & der)
23 cells_.push_back(der);
27 void MathDiffInset::normalize(NormalStream & os) const
30 for (idx_type idx = 0; idx < nargs(); ++idx)
31 os << ' ' << cell(idx);
36 void MathDiffInset::metrics(MetricsInfo &, Dimension &) const
38 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";