]> git.lyx.org Git - lyx.git/blob - src/mathed/math_ertinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_ertinset.h
1 // -*- C++ -*-
2 #ifndef MATH_ERTINSET_H
3 #define MATH_ERTINSET_H
4
5
6 #include "math_textinset.h"
7
8 // implements support for \parbox
9
10 class MathErtInset : public MathTextInset {
11 public:
12         ///
13         MathErtInset() {}
14         ///
15         virtual std::auto_ptr<InsetBase> clone() const;
16         ///
17         mode_type currentMode() const { return TEXT_MODE; }
18         ///
19         void metrics(MetricsInfo & mi, Dimension & dim) const;
20         ///
21         void draw(PainterInfo & pi, int x, int y) const;
22         ///
23         void infoize(std::ostream & os) const;
24         ///
25         void write(WriteStream & os) const;
26 };
27
28 #endif