///
EDITABLE editable() const { return IS_EDITABLE; }
///
- Inset::Code lyxCode() const { return Inset::LABEL_CODE; }
+ InsetCode lyxCode() const { return LABEL_CODE; }
/// Appends \c list with this label
void getLabelList(Buffer const &, std::vector<docstring> & list) const;
///
int plaintext(Buffer const &, odocstream &, OutputParams const &) const;
///
int docbook(Buffer const &, odocstream &, OutputParams const &) const;
+ ///
+ static CommandInfo const * findInfo(std::string const &);
+ ///
+ static std::string defaultCommand() { return "label"; };
+ ///
+ static bool isCompatibleCommand(std::string const & s)
+ { return s == "label"; }
protected:
virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
private:
- virtual std::auto_ptr<Inset> doClone() const;
+ virtual Inset * clone() const;
};