///
InsetCode lyxCode() const { return INDEX_CODE; }
///
- docstring name() const { return from_ascii("Index"); }
+ docstring layoutName() const { return from_ascii("Index"); }
///
ColorCode labelColor() const;
///
void read(Lexer & lex);
///
int docbook(odocstream &, OutputParams const &) const;
- ///
+ ///
docstring xhtml(XHTMLStream &, OutputParams const &) const;
///
- int latex(odocstream &, OutputParams const &) const;
+ void latex(otexstream &, OutputParams const &) const;
///
bool showInsetDialog(BufferView *) const;
///
/// should paragraph indendation be omitted in any case?
bool neverIndent() const { return true; }
///
- void addToToc(DocIterator const &);
+ void addToToc(DocIterator const &) const;
///
docstring toolTip(BufferView const & bv, int x, int y) const;
///
/// Updates needed features for this inset.
void validate(LaTeXFeatures & features) const;
///
- docstring contextMenu(BufferView const & bv, int x, int y) const;
+ std::string contextMenuName() const;
///
Inset * clone() const { return new InsetIndex(*this); }
///
InsetCode lyxCode() const { return INDEX_PRINT_CODE; }
///
- int latex(odocstream &, OutputParams const &) const;
- ///
+ void latex(otexstream &, OutputParams const &) const;
+ ///
docstring xhtml(XHTMLStream &, OutputParams const &) const;
///
void doDispatch(Cursor & cur, FuncRequest & cmd);
///
bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
///
- docstring contextMenu(BufferView const & bv, int x, int y) const;
+ std::string contextMenuName() const;
/// Updates needed features for this inset.
void validate(LaTeXFeatures & features) const;
///