]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetIndex.h
Fix date inset except on windows (bug 9925)
[lyx.git] / src / insets / InsetIndex.h
index 8ac0e5e125c1bfe069753405f0fc33b7efa16092..b1aa9b4c5f6ee473c1247a96b9a272e75667ca74 100644 (file)
@@ -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;
        ///