]> git.lyx.org Git - lyx.git/blob - src/insets/insetfootlike.h
fix #832
[lyx.git] / src / insets / insetfootlike.h
1 // -*- C++ -*-
2 /**
3  * \file insetfootlike.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Lars Gullik Bjønnes
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef INSETFOOTLIKE_H
13 #define INSETFOOTLIKE_H
14
15
16 #include "insetcollapsable.h"
17
18 // To have this class is probably a bit overkill... (Lgb)
19
20 /** The footnote inset
21
22 */
23 class InsetFootlike : public InsetCollapsable {
24 public:
25         ///
26         InsetFootlike(BufferParams const &);
27         ///
28         InsetFootlike(InsetFootlike const &, bool same_id = false);
29         ///
30         void write(Buffer const * buf, std::ostream & os) const;
31         ///
32         bool insetAllowed(Inset::Code) const;
33         /** returns true if, when outputing LaTeX, font changes should
34             be closed before generating this inset. This is needed for
35             insets that may contain several paragraphs */
36         bool noFontChange() const { return true; }
37 };
38
39 #endif