X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetFootlike.h;h=f16f355a963b09d44adee31689717c95065892c3;hb=239b9919ffe28338d789e6dc9122228f77ab77a7;hp=0283e06461424b5b1aeade599244a574bb991885;hpb=a694476ac68fd56c23eace194e9e6ac5b2a5cac5;p=lyx.git diff --git a/src/insets/InsetFootlike.h b/src/insets/InsetFootlike.h index 0283e06461..f16f355a96 100644 --- a/src/insets/InsetFootlike.h +++ b/src/insets/InsetFootlike.h @@ -4,7 +4,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author Lars Gullik Bjønnes + * \author Lars Gullik Bjønnes * * Full author contact details are available in file CREDITS. */ @@ -23,9 +23,10 @@ namespace lyx { class InsetFootlike : public InsetCollapsable { public: /// - InsetFootlike(Buffer const &); + InsetFootlike(Buffer *); /// - InsetFootlike(InsetFootlike const &); + bool hasSettings() const { return false; } +private: /// void metrics(MetricsInfo &, Dimension &) const; /// @@ -33,13 +34,11 @@ public: /// void write(std::ostream & os) const; /// - bool isMacroScope() const { return true; } - /// bool insetAllowed(InsetCode) const; - /** returns true if, when outputing LaTeX, font changes should + /** returns false if, when outputing 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; } };