///
EDITABLE editable() const { return IS_EDITABLE; }
///
- InsetBase::Code lyxCode() const;
+ Inset::Code lyxCode() const;
///
- bool display() const { return true; }
+ DisplayType display() const { return AlignCenter; }
///
void write(Buffer const &, std::ostream &) const;
///
- void read(Buffer const &, LyXLex &);
+ void read(Buffer const &, Lexer &);
///
int latex(Buffer const &, odocstream &,
- OutputParams const &) const;
+ OutputParams const &) const;
///
int docbook(Buffer const &, odocstream &,
- OutputParams const &) const { return 0; }
+ OutputParams const &) const { return 0; }
///
int plaintext(Buffer const &, odocstream &,
- OutputParams const & runparams) const;
+ OutputParams const & runparams) const;
///
void validate(LaTeXFeatures & features) const;
private:
- virtual std::auto_ptr<InsetBase> doClone() const
+ virtual Inset * clone() const
{
- return std::auto_ptr<InsetBase>(new InsetFloatList(to_ascii(getParam("type"))));
+ return new InsetFloatList(to_ascii(getParam("type")));
}
};