4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef MATH_BOXINSET_H
13 #define MATH_BOXINSET_H
15 #include "InsetMathNest.h"
25 /// Support for \\mbox
27 class InsetMathBox : public InsetMathNest {
30 explicit InsetMathBox(docstring const & name);
32 mode_type currentMode() const { return TEXT_MODE; }
34 void metrics(MetricsInfo & mi, Dimension & dim) const;
36 void draw(PainterInfo & pi, int x, int y) const;
38 void write(WriteStream & os) const;
40 void normalize(NormalStream & ns) const;
42 void infoize(odocstream & os) const;
45 virtual Inset * clone() const;