2 * \file InsetMathLefteqn.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 "InsetMathLefteqn.h"
15 #include "support/docstream.h"
20 InsetMathLefteqn::InsetMathLefteqn(Buffer
* buf
)
21 : InsetMathNest(buf
, 1)
25 Inset
* InsetMathLefteqn::clone() const
27 return new InsetMathLefteqn(*this);
31 void InsetMathLefteqn::metrics(MetricsInfo
& mi
, Dimension
& dim
) const
33 cell(0).metrics(mi
, dim
);
41 void InsetMathLefteqn::draw(PainterInfo
& pi
, int x
, int y
) const
43 cell(0).draw(pi
, x
+ 2, y
);
44 drawMarkers(pi
, x
, y
);
48 docstring
InsetMathLefteqn::name() const
50 return from_ascii("lefteqn");
54 void InsetMathLefteqn::infoize(odocstream
& os
) const