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
15 #include "InsetCollapsible.h"
20 // To have this class is probably a bit overkill... (Lgb)
23 class InsetFootlike : public InsetCollapsible {
26 explicit InsetFootlike(Buffer *);
28 bool hasSettings() const { return false; }
31 void metrics(MetricsInfo &, Dimension &) const;
33 void draw(PainterInfo & pi, int x, int y) const;
35 void write(std::ostream & os) const;
37 bool insetAllowed(InsetCode) const;
38 /** returns false 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 inheritFont() const { return false; }