X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetCaption.h;h=70894e164d717cfa2a52272c904f5d3e35749e5d;hb=0362c6aae73c293d1c20277c12d362acfe0b2ef6;hp=804a40a6d72b27f581a5df643ebd6df3845a8899;hpb=4bf0bed36acca6139d905a6c004886ea5c93f608;p=lyx.git diff --git a/src/insets/InsetCaption.h b/src/insets/InsetCaption.h index 804a40a6d7..70894e164d 100644 --- a/src/insets/InsetCaption.h +++ b/src/insets/InsetCaption.h @@ -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: ///