- /// Allow multiple blanks
- virtual bool isFreeSpacing() const { return layout_->isFreeSpacing(); }
- /// Don't eliminate empty paragraphs
- virtual bool allowEmpty() const { return layout_->isKeepEmpty(); }
- /// Force inset into LTR environment if surroundings are RTL?
- virtual bool forceLTR() const { return layout_->isForceLtr(); }
- ///
- virtual bool useEmptyLayout() const { return true; }
- /// Is this inset's layout defined in the document's textclass?
- /// May be wrong after textclass change or paste from another document
- bool undefined() const;
+ ///
+ virtual bool usePlainLayout() const { return true; }
+ ///
+ virtual docstring contextMenu(BufferView const & bv, int x, int y) const;
+ ///
+ docstring floatName(std::string const & type) const;