A bit more re-organization.
[lyx.git] / src / mathed / InsetMathLefteqn.h
blob1adb0bd4001de7ecc8723d1dddb7b269a732ebfa
1 // -*- C++ -*-
2 /**
3 * \file InsetMathLefteqn.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author André Pönitz
9 * Full author contact details are available in file CREDITS.
12 #ifndef MATH_LEFTEQNINSET_H
13 #define MATH_LEFTEQNINSET_H
15 #include "InsetMathNest.h"
18 namespace lyx {
21 /// Support for LaTeX's \\lefteqn command
23 class InsetMathLefteqn : public InsetMathNest {
24 public:
25 ///
26 InsetMathLefteqn(Buffer * buf);
27 ///
28 docstring name() const;
29 ///
30 void metrics(MetricsInfo & mi, Dimension & dim) const;
31 ///
32 void draw(PainterInfo & pi, int x, int y) const;
33 ///
34 void infoize(odocstream & os) const;
35 ///
36 InsetCode lyxCode() const { return MATH_LEFTEQN_CODE; }
38 private:
39 virtual Inset * clone() const;
43 } // namespace lyx
44 #endif