X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetCaption.h;h=70894e164d717cfa2a52272c904f5d3e35749e5d;hb=0362c6aae73c293d1c20277c12d362acfe0b2ef6;hp=b2fbac5395f48b8060fbc564466331783eac4b79;hpb=8e831bb602cd6c16348860554b9355bc59c67b43;p=lyx.git diff --git a/src/insets/InsetCaption.h b/src/insets/InsetCaption.h index b2fbac5395..70894e164d 100644 --- a/src/insets/InsetCaption.h +++ b/src/insets/InsetCaption.h @@ -76,13 +76,13 @@ public: /// std::string const & type() const { return type_; } /// - void setType(std::string const & type) { type_ = type; } - /// void setCustomLabel(docstring const & label); /// - void addToToc(TocList &, Buffer const &, ParConstIterator const &) const; + void addToToc(Buffer const &, ParConstIterator const &) const; + /// + virtual bool forceEmptyLayout() const { return true; } /// Captions don't accept alignment, spacing, etc. - bool forceDefaultParagraphs(idx_type) const { return true; } + virtual bool allowParagraphCustomization(idx_type) const { return false; } private: ///