#include "insetcollapsable.h"
-class Painter;
-
/** A colapsable text inset
To write full ert (including styles and other insets) in a given
*/
class InsetERT : public InsetCollapsable {
public:
- ///
- InsetERT();
- ///
- ~InsetERT() {}
- ///
- Inset * Clone() const;
- ///
- char const * EditMessage() const;
- ///
- bool InsertInset(BufferView *, Inset *);
- ///
- void SetFont(BufferView *, LyXFont const &, bool toggleall = false);
- ///
- void Edit(BufferView *, int, int, unsigned int);
- ///
+ ///
+ InsetERT();
+ ///
+ void Write(Buffer const * buf, std::ostream & os) const;
+ ///
+ Inset * Clone(Buffer const &) const;
+ ///
+ string const EditMessage() const;
+ ///
+ bool InsertInset(BufferView *, Inset *) { return false; }
+ ///
+ void SetFont(BufferView *, LyXFont const &, bool toggleall = false);
+ ///
+ void Edit(BufferView *, int, int, unsigned int);
};
#endif