]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetIndex.h
Change the "empty layout" to the "plain layout", to try to avoid confusion.
[lyx.git] / src / insets / InsetIndex.h
index 5fd73ad43488ab7e3a5e5054d0624483eaae74e8..092311c64c269254bbc3fd009dab54d39f6a1c32 100644 (file)
@@ -27,7 +27,7 @@ public:
        InsetIndex(Buffer const &);
 private:
        ///
-       EDITABLE editable() const { return IS_EDITABLE; }
+       EDITABLE editable() const { return HIGHLY_EDITABLE; }
        ///
        InsetCode lyxCode() const { return INDEX_CODE; }
        ///
@@ -36,10 +36,12 @@ private:
        void write(std::ostream & os) const;
        ///
        int docbook(odocstream &, OutputParams const &) const;
+       ///
+       int latex(odocstream &, OutputParams const &) const;
        /// should paragraph indendation be omitted in any case?
        bool neverIndent() const { return true; }
        ///
-       void addToToc(ParConstIterator const &) const;
+       void addToToc(DocIterator const &);
        ///
        Inset * clone() const { return new InsetIndex(*this); }
 };