]> git.lyx.org Git - lyx.git/blob - src/insets/insetfoot.h
Some more changes for updating text-insets.
[lyx.git] / src / insets / insetfoot.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 INSETFOOT_H
15 #define INSETFOOT_H
16
17 #ifdef __GNUG__
18 #pragma interface
19 #endif
20
21 #include "insetcollapsable.h"
22
23 class Painter;
24
25 /** The footnote inset
26   
27 */
28 class InsetFoot : public InsetCollapsable {
29 public:
30         ///
31         explicit
32         InsetFoot();
33         ///
34         ~InsetFoot() {}
35         ///
36         void Write(Buffer const * buf, std::ostream & os) const;
37         ///
38         Inset * Clone() const;
39         ///
40         Inset::Code LyxCode() const { return Inset::FOOT_CODE; }
41         ///
42         int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
43         ///
44         const char * EditMessage() const;
45         ///
46         bool InsertInset(BufferView *, Inset * inset);
47         ///
48         bool InsertInsetAllowed(Inset * inset) const;
49         ///
50 //      LyXFont GetDrawFont(BufferView *, LyXParagraph * par, int pos) const;
51 };
52
53 #endif