3 * \file InsetMathMakebox.h
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_MAKEBOXINSET_H
13 #define MATH_MAKEBOXINSET_H
15 #include "InsetMathNest.h"
20 /// Extra nesting: \\makebox.
21 // consolidate with InsetMathFrameBox?
23 class InsetMathMakebox : public InsetMathNest {
28 bool metrics(MetricsInfo & mi, Dimension & dim) const;
30 void draw(PainterInfo & pi, int x, int y) const;
32 void write(WriteStream & os) const;
33 /// write normalized content
34 void normalize(NormalStream & ns) const;
36 mode_type currentMode() const { return TEXT_MODE; }
38 void infoize(odocstream & os) const;
40 virtual Inset * clone() const;
41 /// width of '[' in current font