1 #ifndef MATH_PARBOXINSET_H
2 #define MATH_PARBOXINSET_H
4 #include "math_textinset.h"
6 // implements support for \parbox
8 class MathParboxInset : public MathTextInset {
13 MathParboxInset * asParboxInset() { return this; }
15 MathInset * clone() const;
17 mode_type currentMode() const { return TEXT_MODE; }
19 void metrics(MathMetricsInfo & mi) const;
21 void draw(MathPainterInfo &, int x, int y) const;
23 void infoize(std::ostream & os) const;
25 void write(WriteStream & os) const;
27 void setWidth(string const & width);
29 void setPosition(string const & pos);