3 * \file insetfootlike.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Lars Gullik Bjønnes
9 * Full author contact details are available in file CREDITS
12 #ifndef INSETFOOTLIKE_H
13 #define INSETFOOTLIKE_H
19 #include "insetcollapsable.h"
21 // To have this class is probably a bit overkill... (Lgb)
23 /** The footnote inset
26 class InsetFootlike : public InsetCollapsable {
29 InsetFootlike(BufferParams const &);
31 InsetFootlike(InsetFootlike const &, bool same_id = false);
33 void write(Buffer const * buf, std::ostream & os) const;
35 bool insetAllowed(Inset::Code) 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; }