* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author José Matos
+ * \author José Matos
*
* Full author contact details are available in file CREDITS.
*/
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;
///
- EDITABLE editable() const { return IS_EDITABLE; }
+ bool hasSettings() const { return true; }
///
InsetCode lyxCode() const { return REF_CODE; }
///
///
int docbook(odocstream &, OutputParams const &) const;
/// the string that is passed to the TOC
- void textString(odocstream &) const;
+ void tocString(odocstream &) const;
///
void validate(LaTeXFeatures & features) const;
///
///
void updateLabels(ParIterator const & it);
///
- void addToToc(ParConstIterator const &) const;
+ void addToToc(DocIterator 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