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_support.h"
15 #include "math_mathmlstream.h"
16 #include "math_symbolinset.h"
23 MathLimInset::MathLimInset
24 (MathArray const & f, MathArray const & x, MathArray const & x0)
33 auto_ptr<InsetBase> MathLimInset::clone() const
35 return auto_ptr<InsetBase>(new MathLimInset(*this));
39 void MathLimInset::normalize(NormalStream & os) const
41 os << "[lim " << cell(0) << ' ' << cell(1) << ' ' << cell(2) << ']';
45 void MathLimInset::metrics(MetricsInfo &, Dimension &) const
47 lyxerr << "should not happen" << endl;
51 void MathLimInset::draw(PainterInfo &, int, int) const
53 lyxerr << "should not happen" << endl;
57 void MathLimInset::maple(MapleStream & os) const
59 os << "limit(" << cell(0) << ',' << cell(1) << '=' << cell(2) << ')';
63 void MathLimInset::mathematica(MathematicaStream & os) const
65 os << "Lim[" << cell(0) << ',' << cell(1) << ',' << cell(2) << ']';
69 void MathLimInset::mathmlize(MathMLStream & os) const
71 os << "lim(" << cell(0) << ',' << cell(1) << ',' << cell(2) << ')';
75 void MathLimInset::write(WriteStream &) const
77 lyxerr << "should not happen" << endl;