///
virtual docstring const editMessage() const;
///
- InsetBase::Code lyxCode() const { return InsetBase::BOX_CODE; }
+ Inset::Code lyxCode() const { return Inset::BOX_CODE; }
///
void write(Buffer const &, std::ostream &) const;
///
/// show the Box dialog
bool showInsetDialog(BufferView * bv) const;
///
- bool display() const { return false; }
+ DisplayType display() const { return Inline; }
///
bool forceDefaultParagraphs(idx_type) const;
///
/// Is the width forced to some value?
virtual bool hasFixedWidth() const;
///
- virtual docstring getInsetName() const { return from_ascii("Box"); }
+ virtual docstring name() const { return from_ascii("Box"); }
private:
friend class InsetBoxParams;
- virtual std::auto_ptr<InsetBase> doClone() const;
+ virtual Inset * clone() const;
/// used by the constructors
void init();
///
InsetBoxMailer(InsetBox & inset);
///
- virtual InsetBase & inset() const { return inset_; }
+ virtual Inset & inset() const { return inset_; }
///
virtual std::string const & name() const { return name_; }
///