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_PARINSET_H
13 #define MATH_PARINSET_H
16 #include "InsetMathHull.h"
21 class InsetMathPar
: public InsetMathHull
{
26 InsetMathPar(MathData
const & ar
);
28 mode_type
currentMode() const { return TEXT_MODE
; }
30 void metrics(MetricsInfo
& mi
, Dimension
& dim
) const;
32 void draw(PainterInfo
&, int x
, int y
) const;
34 void infoize(odocstream
& os
) const;
36 void write(WriteStream
& os
) const;
38 InsetCode
lyxCode() const { return MATH_PAR_CODE
; }
42 virtual Inset
* clone() const;