]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCaption.h
Andre's s/getTextClass/textClass/ cleanup.
[lyx.git] / src / insets / InsetCaption.h
index b2fbac5395f48b8060fbc564466331783eac4b79..70894e164d717cfa2a52272c904f5d3e35749e5d 100644 (file)
@@ -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:
        ///