]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetIndex.h
New DocBook support
[lyx.git] / src / insets / InsetIndex.h
index 3ee17509dcf45e4fd5fcc22733617479191ad861..a999ee5bb3195b77793c26a64c4ad727733e1559 100644 (file)
@@ -13,7 +13,7 @@
 #define INSET_INDEX_H
 
 
-#include "InsetCollapsable.h"
+#include "InsetCollapsible.h"
 #include "InsetCommand.h"
 
 
@@ -35,7 +35,7 @@ public:
 
 /** Used to insert index labels
   */
-class InsetIndex : public InsetCollapsable {
+class InsetIndex : public InsetCollapsible {
 public:
        ///
        InsetIndex(Buffer *, InsetIndexParams const &);
@@ -57,9 +57,9 @@ private:
        ///
        void read(Lexer & lex);
        ///
-       int docbook(odocstream &, OutputParams const &) const;
+       void docbook(XMLStream &, OutputParams const &) const;
        ///
-       docstring xhtml(XHTMLStream &, OutputParams const &) const;
+       docstring xhtml(XMLStream &, OutputParams const &) const;
        ///
        void latex(otexstream &, OutputParams const &) const;
        ///
@@ -68,7 +68,7 @@ private:
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
-       /// should paragraph indendation be omitted in any case?
+       /// should paragraph indentation be omitted in any case?
        bool neverIndent() const { return true; }
        ///
        void addToToc(DocIterator const & di, bool output_active,
@@ -105,13 +105,13 @@ public:
        ///
        void latex(otexstream &, OutputParams const &) const;
        ///
-       docstring xhtml(XHTMLStream &, OutputParams const &) const;
+       docstring xhtml(XMLStream &, OutputParams const &) const;
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
        ///
-       void updateBuffer(ParIterator const & it, UpdateType);
+       void updateBuffer(ParIterator const & it, UpdateType, bool const deleted = false);
        ///
        std::string contextMenuName() const;
        /// Updates needed features for this inset.
@@ -119,7 +119,7 @@ public:
        ///
        bool hasSettings() const;
        ///
-       DisplayType display() const { return AlignCenter; }
+       RowFlags rowFlags() const { return Display; }
        //@}
 
        /// \name Static public methods obligated for InsetCommand derived classes