]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCaption.h
Fix use of std::regex_match
[lyx.git] / src / insets / InsetCaption.h
index be0d163041ef43504aab31f3135d90d7d6664476..1fb1022faadc02e58c28f855165514a953cd2839 100644 (file)
@@ -30,6 +30,8 @@ public:
        void getArgument(otexstream & os, OutputParams const &) const;
        /// return the caption text
        int getCaptionAsPlaintext(odocstream & os, OutputParams const &) const;
+       /// write the caption text as DocBook in os
+       void getCaptionAsDocBook(XMLStream & os, OutputParams const &) const;
        /// return the caption text as HTML
        docstring getCaptionAsHTML(XMLStream & os, OutputParams const &) const;
        ///
@@ -38,7 +40,7 @@ private:
        ///
        void write(std::ostream & os) const;
        ///
-       DisplayType display() const { return AlignCenter; }
+       RowFlags rowFlags() const { return Display; }
        ///
        bool neverIndent() const { return true; }
        ///
@@ -76,7 +78,7 @@ private:
        int plaintext(odocstringstream & ods, OutputParams const & op,
                      size_t max_length = INT_MAX) const;
        ///
-       int docbook(odocstream & os, OutputParams const & runparams) const;
+       void docbook(XMLStream &, OutputParams const &) const;
        ///
        docstring xhtml(XMLStream & os, OutputParams const & runparams) const;
        ///