]> git.lyx.org Git - features.git/blob - src/insets/InsetFoot.h
8e2e3989fb4d4f72f2e7d9786e81707581b1a979
[features.git] / src / insets / InsetFoot.h
1 // -*- C++ -*-
2 /**
3  * \file InsetFoot.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Jürgen Vigna
8  * \author Lars Gullik Bjønnes
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef INSETFOOT_H
14 #define INSETFOOT_H
15
16 #include "InsetFootlike.h"
17
18
19 namespace lyx {
20
21 /** The footnote inset
22
23 */
24 class InsetFoot : public InsetFootlike
25 {
26 public:
27         ///
28         InsetFoot(Buffer const &);
29 private:
30         ///
31         InsetCode lyxCode() const { return FOOT_CODE; }
32         ///
33         docstring name() const { return from_ascii("Foot"); }
34         ///
35         int latex(odocstream &, OutputParams const &) const;
36         ///
37         int plaintext(odocstream &, OutputParams const &) const;
38         ///
39         int docbook(odocstream &, OutputParams const &) const;
40         ///
41         docstring editMessage() const;
42         /// Update the counters of this inset and of its contents
43         void updateLabels(ParIterator const &);
44         ///
45         void addToToc(ParConstIterator const &) const;
46         ///
47         docstring toolTip(BufferView const & bv, int x, int y) const;
48         ///
49         Inset * clone() const { return new InsetFoot(*this); }
50         ///
51         docstring custom_label_;
52 };
53
54
55 } // namespace lyx
56
57 #endif