2 * \file math_liminset.C
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 "math_liminset.h"
14 #include "math_mathmlstream.h"
21 MathLimInset::MathLimInset
22 (MathArray const & f, MathArray const & x, MathArray const & x0)
31 auto_ptr<InsetBase> MathLimInset::clone() const
33 return auto_ptr<InsetBase>(new MathLimInset(*this));
37 void MathLimInset::normalize(NormalStream & os) const
39 os << "[lim " << cell(0) << ' ' << cell(1) << ' ' << cell(2) << ']';
43 void MathLimInset::metrics(MetricsInfo &, Dimension &) const
45 lyxerr << "should not happen" << endl;
49 void MathLimInset::draw(PainterInfo &, int, int) const
51 lyxerr << "should not happen" << endl;
55 void MathLimInset::maple(MapleStream & os) const
57 os << "limit(" << cell(0) << ',' << cell(1) << '=' << cell(2) << ')';
61 void MathLimInset::mathematica(MathematicaStream & os) const
63 os << "Lim[" << cell(0) << ',' << cell(1) << ',' << cell(2) << ']';
67 void MathLimInset::mathmlize(MathMLStream & os) const
69 os << "lim(" << cell(0) << ',' << cell(1) << ',' << cell(2) << ')';
73 void MathLimInset::write(WriteStream &) const
75 lyxerr << "should not happen" << endl;