]> git.lyx.org Git - features.git/blob - src/insets/InsetFootlike.h
more latin1..utf8 schanges. all of src/* should be utf8 now
[features.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 #include "InsetCollapsable.h"
16
17
18 namespace lyx {
19
20 // To have this class is probably a bit overkill... (Lgb)
21
22 // The footnote inset
23 class InsetFootlike : public InsetCollapsable {
24 public:
25         ///
26         InsetFootlike(Buffer const &);
27 private:
28         ///
29         void metrics(MetricsInfo &, Dimension &) const;
30         ///
31         void draw(PainterInfo & pi, int x, int y) const;
32         ///
33         void write(std::ostream & os) const;
34         ///
35         bool insetAllowed(InsetCode) const;
36         /** returns true if, when outputing LaTeX, font changes should
37             be closed before generating this inset. This is needed for
38             insets that may contain several paragraphs */
39         bool noFontChange() const { return true; }
40 };
41
42
43 } // namespace lyx
44
45 #endif