]> git.lyx.org Git - lyx.git/blob - src/insets/insetert.h
Some more changes for updating text-insets.
[lyx.git] / src / insets / insetert.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ======================================================
4  * 
5  *           LyX, The Document Processor
6  *
7  *           Copyright 1998 The LyX Team.
8  *
9  *======================================================
10  */
11 // The pristine updatable inset: Text
12
13
14 #ifndef INSETERT_H
15 #define INSETERT_H
16
17 #ifdef __GNUG__
18 #pragma interface
19 #endif
20
21 #include "insetcollapsable.h"
22
23 class Painter;
24
25 /** A colapsable text inset
26   
27   To write full ert (including styles and other insets) in a given
28   space. 
29 */
30 class InsetERT : public InsetCollapsable {
31 public:
32         ///
33         InsetERT();
34         ///
35         ~InsetERT() {}
36         ///
37         void Write(Buffer const * buf, std::ostream & os) const;
38         ///
39         Inset * Clone() const;
40         ///
41         char const * EditMessage() const;
42         ///
43         bool InsertInset(BufferView *, Inset *);
44         ///
45         void SetFont(BufferView *, LyXFont const &, bool toggleall = false);
46         ///
47         void Edit(BufferView *, int, int, unsigned int);
48         ///
49 };
50
51 #endif