2 * \file InsetMathDiff.cpp
3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS.
13 #include "InsetMathDiff.h"
15 #include "MathStream.h"
24 InsetMathDiff::InsetMathDiff()
29 Inset * InsetMathDiff::clone() const
31 return new InsetMathDiff(*this);
35 void InsetMathDiff::addDer(MathData const & der)
37 cells_.push_back(der);
41 void InsetMathDiff::normalize(NormalStream & os) const
44 for (idx_type idx = 0; idx < nargs(); ++idx)
45 os << ' ' << cell(idx);
50 bool InsetMathDiff::metrics(MetricsInfo &, Dimension &) const
52 lyxerr << "should not happen" << endl;
57 void InsetMathDiff::draw(PainterInfo &, int, int) const
59 lyxerr << "should not happen" << endl;
63 void InsetMathDiff::maple(MapleStream & os) const
66 for (idx_type idx = 0; idx < nargs(); ++idx) {
75 void InsetMathDiff::maxima(MaximaStream & os) const
78 for (idx_type idx = 0; idx < nargs(); ++idx) {
89 void InsetMathDiff::mathematica(MathematicaStream & os) const
92 for (idx_type idx = 0; idx < nargs(); ++idx) {
101 void InsetMathDiff::mathmlize(MathStream & os) const
104 for (idx_type idx = 0; idx < nargs(); ++idx) {
113 void InsetMathDiff::write(WriteStream &) const
115 lyxerr << "should not happen" << endl;