3 * \file InsetMathFrameBox.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_FRAMEBOXINSET_H
13 #define MATH_FRAMEBOXINSET_H
15 #include "InsetMathNest.h"
22 class InsetMathFrameBox : public InsetMathNest {
27 void metrics(MetricsInfo & mi, Dimension & dim) const;
29 void draw(PainterInfo & pi, int x, int y) const;
31 void write(WriteStream & os) const;
32 /// write normalized content
33 void normalize(NormalStream & ns) const;
35 mode_type currentMode() const { return TEXT_MODE; }
37 virtual Inset * clone() const;
38 /// width of '[' in current font