]> git.lyx.org Git - lyx.git/blob - src/insets/InsetFoot.h
Cleanup mouse/selection/context-menu interactions.
[lyx.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         Inset * clone() const { return new InsetFoot(*this); }
48 };
49
50
51 } // namespace lyx
52
53 #endif