static std::string const & getName(int type);
- InsetRef(InsetCommandParams const &, Buffer const &);
+ InsetRef(Buffer const & buffer, InsetCommandParams const &);
+ ///
+ bool isLabeled() const { return true; }
///
docstring screenLabel() const;
///
///
static bool isCompatibleCommand(std::string const & s);
///
+ void updateLabels(ParIterator const & it);
+ ///
void addToToc(ParConstIterator const &) const;
protected:
///
InsetRef(InsetRef const &);
- ///
- void doDispatch(Cursor & cur, FuncRequest & cmd);
private:
///
Inset * clone() const { return new InsetRef(*this); }
///
bool isLatex;
+ ///
+ mutable docstring screen_label_;
};
} // namespace lyx