X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetIndex.h;h=80d8149bc4cab58a93814baafe6eef8270800343;hb=3391fed36a574fb729f243888258d1b6d45b0251;hp=26d4fc5e32b15dcb74efa5d1b1a3c7e8ba50dc15;hpb=e7f2bbe1eec4752ae2c88481bd77320186bbb8fb;p=features.git diff --git a/src/insets/InsetIndex.h b/src/insets/InsetIndex.h index 26d4fc5e32..80d8149bc4 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 &); + void addToToc(DocIterator const & di, bool output_active, + UpdateType utype, TocBackend & backend) const; /// docstring toolTip(BufferView const & bv, int x, int y) const; /// @@ -79,9 +80,11 @@ 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); } + /// Is the content of this inset part of the immediate text sequence? + bool isPartOfTextSequence() const { return false; } /// friend class InsetIndexParams; @@ -100,15 +103,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; ///