3 * \file math_fboxinset.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_FBOXINSET_H
13 #define MATH_FBOXINSET_H
15 #include "math_nestinset.h"
16 #include "metricsinfo.h"
22 class MathFboxInset : public MathNestInset {
25 MathFboxInset(latexkeys const * key);
27 virtual std::auto_ptr<InsetBase> clone() const;
29 mode_type currentMode() const;
31 void metrics(MetricsInfo & mi, Dimension & dim) const;
33 void draw(PainterInfo & pi, int x, int y) const;
35 void write(WriteStream & os) const;
36 /// write normalized content
37 void normalize(NormalStream & ns) const;
40 latexkeys const * key_;