]> git.lyx.org Git - lyx.git/blob - src/insets/InsetFoot.h
Whitespace.
[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 *);
29 private:
30         ///
31         InsetCode lyxCode() const { return FOOT_CODE; }
32         ///
33         docstring layoutName() const;
34         ///
35         int plaintext(odocstringstream & ods, OutputParams const & op,
36                       size_t max_length = INT_MAX) const;
37         ///
38         int docbook(odocstream &, OutputParams const &) const;
39         /// Update the counters of this inset and of its contents
40         void updateBuffer(ParIterator const &, UpdateType);
41         ///
42         void addToToc(DocIterator const & di, bool output_active,
43                                   UpdateType utype) const;
44         ///
45         docstring toolTip(BufferView const & bv, int x, int y) const;
46         ///
47         Inset * clone() const { return new InsetFoot(*this); }
48         ///
49         docstring custom_label_;
50         ///
51         bool intitle_;
52 };
53
54
55 } // namespace lyx
56
57 #endif