2002-07-31 17:26:14 +00:00
|
|
|
#ifndef MATH_ERTINSET_H
|
|
|
|
#define MATH_ERTINSET_H
|
|
|
|
|
2002-09-11 09:14:57 +00:00
|
|
|
|
2002-07-31 17:26:14 +00:00
|
|
|
#include "math_textinset.h"
|
|
|
|
|
|
|
|
// implements support for \parbox
|
|
|
|
|
|
|
|
class MathErtInset : public MathTextInset {
|
|
|
|
public:
|
|
|
|
///
|
|
|
|
MathErtInset() {}
|
|
|
|
///
|
|
|
|
MathInset * clone() const;
|
|
|
|
///
|
|
|
|
mode_type currentMode() const { return TEXT_MODE; }
|
|
|
|
///
|
2003-03-21 14:20:48 +00:00
|
|
|
void metrics(MetricsInfo & mi) const;
|
2002-07-31 17:26:14 +00:00
|
|
|
///
|
2003-03-21 14:20:48 +00:00
|
|
|
void draw(PainterInfo & pi, int x, int y) const;
|
2002-07-31 17:26:14 +00:00
|
|
|
///
|
|
|
|
void infoize(std::ostream & os) const;
|
|
|
|
///
|
|
|
|
void write(WriteStream & os) const;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|