]> git.lyx.org Git - lyx.git/blob - src/insets/insetfoot.h
fix the smallcaps drawing, move xfont metrics functions out from LyXFont, move non...
[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     InsetFoot(Buffer *);
32     ///
33     ~InsetFoot() {}
34     ///
35     Inset * Clone() const;
36     ///
37     Inset::Code LyxCode() const { return Inset::FOOT_CODE; }
38     ///
39     int Latex(std::ostream &, signed char, bool fp) const;
40     ///
41     void Write(std::ostream &) const;
42     ///
43     void Read(LyXLex &);
44     ///
45     const char * EditMessage() const;
46     ///
47     bool InsertInset(BufferView *, Inset * inset);
48 };
49
50 #endif