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_DIMINSET_H
13 #define MATH_DIMINSET_H
15 #include <boost/assert.hpp>
16 #include "InsetMath.h"
23 /// things that need the dimension cache
24 class InsetMathDim : public InsetMath {
30 Dimension dimensions() const { return dim_; }
39 void setPosCache(PainterInfo const & pi, int x, int y) const;
41 int plaintext(Buffer const &, odocstream & os,
42 OutputParams const &) const
43 { // FIXME: math macros are output here but
44 // should be handled in InsetMathHull
45 os << "[math macro]"; return 12; }