]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetcaption.h
* In the process of fixing the math background color bug, this commit transfer backgr...
[lyx.git] / src / insets / insetcaption.h
index 8ea09c548d4e074d65aa2d28489db0b22fb8a374..45adb74e8789a3c5d4ea64d5428f5b46be3774c9 100644 (file)
@@ -71,11 +71,15 @@ public:
        ///
        void setCount(int c) { counter_ = c; }
        ///
+       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 &) const;
+       /// Captions don't accept alignment, spacing, etc.
+       bool forceDefaultParagraphs(idx_type) const { return true; }
 
 private:
        ///