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 {
24 explicit InsetMathPar(Buffer * buf) : InsetMathHull(buf) {}
26 InsetMathPar(Buffer * buf, MathData const & ar);
28 mode_type currentMode() const override { return TEXT_MODE; }
30 void metrics(MetricsInfo & mi, Dimension & dim) const override;
32 void draw(PainterInfo &, int x, int y) const override;
34 void infoize(odocstream & os) const override;
36 void write(TeXMathStream & os) const override;
38 InsetCode lyxCode() const override { return MATH_PAR_CODE; }
42 Inset * clone() const override;