2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1998 The LyX Team.
9 *======================================================
11 // The pristine updatable inset: Text
21 #include "insetcollapsable.h"
25 /** A colapsable text inset
27 To write full ert (including styles and other insets) in a given
30 class InsetERT : public InsetCollapsable {
37 void Write(Buffer const * buf, std::ostream & os) const;
39 Inset * Clone() const;
41 char const * EditMessage() const;
43 bool InsertInset(BufferView *, Inset *);
45 void SetFont(BufferView *, LyXFont const &, bool toggleall = false);
47 void Edit(BufferView *, int, int, unsigned int);