2 * \file math_lefteqninset.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_lefteqninset.h"
14 #include "math_support.h"
15 #include "support/LOstream.h"
20 MathLefteqnInset::MathLefteqnInset()
25 auto_ptr<InsetBase> MathLefteqnInset::clone() const
27 return auto_ptr<InsetBase>(new MathLefteqnInset(*this));
31 void MathLefteqnInset::metrics(MetricsInfo & mi, Dimension & dim) const
34 dim_.asc = cell(0).ascent() + 2;
35 dim_.des = cell(0).descent() + 2;
42 void MathLefteqnInset::draw(PainterInfo & pi, int x, int y) const
44 cell(0).draw(pi, x + 2, y);
45 drawMarkers(pi, x, y);
49 string MathLefteqnInset::name() const
55 void MathLefteqnInset::infoize(std::ostream & os) const