]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCaption.h
Andre's s/getTextClass/textClass/ cleanup.
[lyx.git] / src / insets / InsetCaption.h
index 804a40a6d72b27f581a5df643ebd6df3845a8899..70894e164d717cfa2a52272c904f5d3e35749e5d 100644 (file)
@@ -49,7 +49,7 @@ public:
        ///
        virtual void draw(PainterInfo & pi, int x, int y) const;
        ///
-       virtual void edit(Cursor & cur, bool left);
+       virtual void edit(Cursor & cur, bool front, EntryDirection entry_from);
        ///
        virtual Inset * editXY(Cursor & cur, int x, int y);
        ///
@@ -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:
        ///