#ifndef INSETFOOTLIKE_H
#define INSETFOOTLIKE_H
-#include "InsetCollapsable.h"
+#include "InsetCollapsible.h"
namespace lyx {
// To have this class is probably a bit overkill... (Lgb)
// The footnote inset
-class InsetFootlike : public InsetCollapsable {
+class InsetFootlike : public InsetCollapsible {
public:
///
- InsetFootlike(Buffer const &);
+ explicit InsetFootlike(Buffer *);
///
bool hasSettings() const { return false; }
private:
void write(std::ostream & os) const;
///
bool insetAllowed(InsetCode) const;
- /** returns true if, when outputing LaTeX, font changes should
+ /** returns false if, when outputting LaTeX, font changes should
be closed before generating this inset. This is needed for
insets that may contain several paragraphs */
- bool noFontChange() const { return true; }
+ bool inheritFont() const { return false; }
};