1 #ifndef MATH_PARBOXINSET_H
2 #define MATH_PARBOXINSET_H
5 #include "math_textinset.h"
7 // implements support for \parbox
9 class MathParboxInset : public MathTextInset {
14 MathParboxInset * asParboxInset() { return this; }
16 MathInset * clone() const;
18 mode_type currentMode() const { return TEXT_MODE; }
20 void metrics(MetricsInfo & mi, Dimension & dim) const;
22 void draw(PainterInfo &, int x, int y) const;
24 void infoize(std::ostream & os) const;
26 void write(WriteStream & os) const;
28 void setWidth(string const & width);
30 void setPosition(string const & pos);