///
virtual void draw(PainterInfo & pi, int x, int y) const;
///
- virtual void edit(Cursor & cur, bool front, EntryDirectionType entry_from);
+ virtual void edit(Cursor & cur, bool front, EntryDirection entry_from);
///
virtual Inset * editXY(Cursor & cur, int x, int y);
///
///
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:
///