2002-07-31 17:26:14 +00:00
|
|
|
#ifndef MATH_ERTINSET_H
|
|
|
|
#define MATH_ERTINSET_H
|
|
|
|
|
2002-09-11 09:14:57 +00:00
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
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; }
|
|
|
|
///
|
|
|
|
void metrics(MathMetricsInfo & mi) const;
|
|
|
|
///
|
|
|
|
void draw(MathPainterInfo & pi, int x, int y) const;
|
|
|
|
///
|
|
|
|
void infoize(std::ostream & os) const;
|
|
|
|
///
|
|
|
|
void write(WriteStream & os) const;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|