]> git.lyx.org Git - lyx.git/blob - src/insets/insetfoot.h
Various updates for insets mostly regarding fixes for 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 (C) 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
24 class Painter;
25
26 /** The footnote inset
27   
28 */
29 class InsetFoot : public InsetCollapsable {
30 public:
31     ///
32     InsetFoot(Buffer *);
33     ///
34     ~InsetFoot() {}
35     ///
36     InsetFoot * InsetFoot::Clone() const;
37     ///
38     Inset::Code LyxCode() const { return Inset::FOOT_CODE; }
39 #ifndef USE_OSTREAM_ONLY
40     ///
41     int Latex(string &, signed char) const;
42 #endif
43     ///
44     int Latex(ostream &, signed char) const;
45     ///
46     void Write(ostream &) const;
47     ///
48     void Read(LyXLex &);
49     ///
50     const char * EditMessage() const;
51     ///
52     bool InsertInset(BufferView *, Inset * inset);
53 };
54
55 #endif