]> git.lyx.org Git - features.git/blob - src/insets/InsetFoot.h
progress on buffer-reference-in-insets. beware of instabilities...
[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 public:
26         ///
27         InsetFoot(BufferParams const &);
28         ///
29         InsetCode lyxCode() const { return FOOT_CODE; }
30         ///
31         docstring name() const { return from_ascii("Foot"); }
32         ///
33         int latex(odocstream &, OutputParams const &) const;
34         ///
35         int plaintext(odocstream &, OutputParams const &) const;
36         ///
37         int docbook(odocstream &, OutputParams const &) const;
38         ///
39         docstring editMessage() const;
40         /// Update the counters of this inset and of its contents
41         void updateLabels(ParIterator const &);
42         ///
43         void addToToc(ParConstIterator const &) const;
44
45 protected:
46         InsetFoot(InsetFoot const &);
47 private:
48         Inset * clone() const;
49 };
50
51
52 } // namespace lyx
53
54 #endif