X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetIndex.h;h=b1aa9b4c5f6ee473c1247a96b9a272e75667ca74;hb=dc8c4f3eab6e01f3767de765423fda5e4d6c5124;hp=8ac0e5e125c1bfe069753405f0fc33b7efa16092;hpb=4b1777d2fa533f5a36f010c592a0408be92cdbd2;p=lyx.git diff --git a/src/insets/InsetIndex.h b/src/insets/InsetIndex.h index 8ac0e5e125..b1aa9b4c5f 100644 --- a/src/insets/InsetIndex.h +++ b/src/insets/InsetIndex.h @@ -49,7 +49,7 @@ private: /// InsetCode lyxCode() const { return INDEX_CODE; } /// - docstring name() const { return from_ascii("Index"); } + docstring layoutName() const { return from_ascii("Index"); } /// ColorCode labelColor() const; /// @@ -58,10 +58,10 @@ private: 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; /// @@ -71,7 +71,8 @@ private: /// should paragraph indendation be omitted in any case? bool neverIndent() const { return true; } /// - void addToToc(DocIterator const &) const; + void addToToc(DocIterator const & di, bool output_active, + UpdateType utype) const; /// docstring toolTip(BufferView const & bv, int x, int y) const; /// @@ -79,7 +80,7 @@ private: /// Updates needed features for this inset. void validate(LaTeXFeatures & features) const; /// - docstring contextMenuName() const; + std::string contextMenuName() const; /// Inset * clone() const { return new InsetIndex(*this); } @@ -100,15 +101,15 @@ public: /// 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 contextMenuName() const; + std::string contextMenuName() const; /// Updates needed features for this inset. void validate(LaTeXFeatures & features) const; ///