]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetIndex.h
Finally make the label color of multiple index entries work.
[features.git] / src / insets / InsetIndex.h
index 83bf4beaa8cc39b113d537e09bacdff1f66519b0..c66be3004913b67d37f753923ba8f5bed1c314c6 100644 (file)
@@ -51,11 +51,16 @@ private:
        ///
        docstring name() const { return from_ascii("Index"); }
        ///
+       ColorCode labelColor() const;
+       ///
        void write(std::ostream & os) const;
        ///
        void read(Lexer & lex);
        ///
        int docbook(odocstream &, OutputParams const &) const;
+       /// At the moment, this does nothing. See development/HTML.notes
+       /// for some remarks on what could be done.
+       docstring xhtml(odocstream &, OutputParams const &) const;
        ///
        int latex(odocstream &, OutputParams const &) const;
        ///
@@ -98,10 +103,11 @@ public:
        ///
        static std::string defaultCommand() { return "printindex"; };
        ///
-       static bool isCompatibleCommand(std::string const & s)
-               { return s == "printindex" || s == "printsubindex"; }
+       static bool isCompatibleCommand(std::string const & s);
        ///
        int latex(odocstream &, OutputParams const &) const;
+       /// Does nothing yet.
+       docstring xhtml(odocstream &, OutputParams const &) const;
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///