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