]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCaption.h
Move isMultiCell() to Cursor, and use it.
[lyx.git] / src / insets / InsetCaption.h
index f158e4a3577cdd435d416c0d0ce4e22e0fd16e31..d4e2e17ab9e15bf51166721b7d0f5255f150511d 100644 (file)
@@ -28,6 +28,8 @@ public:
        int getArgument(odocstream & os, OutputParams const &) const;
        /// return the optional argument(s) only
        int getOptArg(odocstream & os, OutputParams const &) const;
+       /// return the caption text
+       int getCaptionText(odocstream & os, OutputParams const &) const;
 private:
        ///
        void write(std::ostream & os) const;
@@ -69,9 +71,9 @@ private:
        ///
        void setCustomLabel(docstring const & label);
        ///
-       void addToToc(ParConstIterator const &) const;
+       void addToToc(DocIterator const &);
        /// 
-       virtual bool forceEmptyLayout(idx_type = 0) const { return true; }
+       virtual bool forcePlainLayout(idx_type = 0) const { return true; }
        /// Captions don't accept alignment, spacing, etc.
        virtual bool allowParagraphCustomization(idx_type = 0) const { return false; }
        ///