2 #ifndef MATH_ERTINSET_H
3 #define MATH_ERTINSET_H
6 #include "math_textinset.h"
8 // implements support for \parbox
10 class MathErtInset : public MathTextInset {
15 virtual std::auto_ptr<InsetBase> clone() const;
17 mode_type currentMode() const { return TEXT_MODE; }
19 void metrics(MetricsInfo & mi, Dimension & dim) const;
21 void draw(PainterInfo & pi, int x, int y) const;
23 void infoize(std::ostream & os) const;
25 void write(WriteStream & os) const;