]> git.lyx.org Git - lyx.git/blob - src/insets/insetert.h
clear()->erase() ; lots of using directives for cxx
[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(Buffer *);
34     ///
35     ~InsetERT() {}
36     ///
37     Inset * Clone() const;
38     ///
39     char const * EditMessage() const;
40     ///
41     bool InsertInset(BufferView *, Inset *);
42     ///
43     void SetFont(BufferView *, LyXFont const &, bool toggleall = false);
44     ///
45     void Edit(BufferView *, int, int, unsigned int);
46     ///
47 };
48
49 #endif