]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetCaption.h
Fix bug 4037 and related problems. The patch has been cleaned up a bit
[features.git] / src / insets / InsetCaption.h
index f98c6b26e5aae785a0cf2f6ea5881f62e017f2f1..64301acfeaf483ad4ee1b067610423f7b4d53d1f 100644 (file)
@@ -79,8 +79,10 @@ public:
        void setCustomLabel(docstring const & label);
        ///
        void addToToc(TocList &, 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:
        ///