]> git.lyx.org Git - lyx.git/blob - src/insets/insetfootlike.h
fix 172; please test
[lyx.git] / src / insets / insetfootlike.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ======================================================
4  *
5  *           LyX, The Document Processor
6  *
7  *           Copyright 1998 The LyX Team.
8  *
9  *======================================================
10  */
11 // The pristine updatable inset: Text
12
13
14 #ifndef InsetFootlike_H
15 #define InsetFootlike_H
16
17 #ifdef __GNUG__
18 #pragma interface
19 #endif
20
21 #include "insetcollapsable.h"
22
23 // To have this class is probably a bit overkill... (Lgb)
24
25 /** The footnote inset
26
27 */
28 class InsetFootlike : public InsetCollapsable {
29 public:
30         ///
31         InsetFootlike(BufferParams const &);
32         ///
33         InsetFootlike(InsetFootlike const &, bool same_id = false);
34         ///
35         void write(Buffer const * buf, std::ostream & os) const;
36         ///
37         bool insetAllowed(Inset::Code) const;
38         /** returns true if, when outputing LaTeX, font changes should
39             be closed before generating this inset. This is needed for
40             insets that may contain several paragraphs */
41         bool noFontChange() const { return true; }
42 };
43
44 #endif