]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCounter.h
New DocBook support
[lyx.git] / src / insets / InsetCounter.h
index 92c547e432c649cc2e96158b55a9bd77592ba76a..3020fdb424f21b7662d7a04bfe6585027c873b13 100644 (file)
@@ -39,9 +39,9 @@ public:
        int plaintext(odocstringstream & ods, OutputParams const & op,
                      size_t max_length = INT_MAX) const;
        ///
-       int docbook(odocstream &, OutputParams const &) const;
+       void docbook(odocstream &, OutputParams const &) const;
        ///
-       docstring xhtml(XHTMLStream &, OutputParams const &) const;
+       docstring xhtml(XMLStream &, OutputParams const &) const;
        ///
        void toString(odocstream &) const;
        ///
@@ -62,7 +62,7 @@ public:
        static bool isCompatibleCommand(std::string const & s);
        //@}
        /// keys are commands, values are GUI strings
-       static const std::map<std::string, std::string> counterTable;
+       static const std::vector<std::pair<std::string, std::string>> counterTable;
        static const std::map<std::string, std::string> valueTable;
 
 protected: