]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTabular.h
Fix use of std::regex_match
[lyx.git] / src / insets / InsetTabular.h
index 0e76bdd9aeb0465128c851eb9ba67ff690a790b0..de26070b7b4af4727114666c85948f183883219d 100644 (file)
@@ -74,6 +74,8 @@ public:
        ///
        docstring xhtml(XMLStream &, OutputParams const &) const;
        ///
+       void docbook(XMLStream &, OutputParams const &) const;
+       ///
        void addToToc(DocIterator const & di, bool output_active,
                                  UpdateType utype, TocBackend & backend) const;
        ///
@@ -570,8 +572,8 @@ public:
        void read(Lexer &);
        ///
        void latex(otexstream &, OutputParams const &) const;
-       ///
-       int docbook(odocstream & os, OutputParams const &) const;
+       /// serialise the table in DocBook, according to buffer parameters
+       void docbook(XMLStream &, OutputParams const &) const;
        ///
        docstring xhtml(XMLStream &, OutputParams const &) const;
        ///
@@ -905,8 +907,14 @@ public:
                                idx_type cell, row_type row, col_type column,
                                std::vector<unsigned int> const &,
                                bool onlydata, size_t max_length) const;
-       /// auxiliary function for docbook
-       int docbookRow(odocstream & os, row_type, OutputParams const &) const;
+       /// auxiliary function for DocBook
+       void docbookRow(XMLStream &, row_type, OutputParams const &,
+                                       bool header = false) const;
+       /// auxiliary function for DocBook: export this row as HTML
+       void docbookRowAsHTML(XMLStream &, row_type, OutputParams const &,
+                                       bool header) const;
+       /// auxiliary function for DocBook: export this row as CALS
+       void docbookRowAsCALS(XMLStream &, row_type, OutputParams const &) const;
        ///
        docstring xhtmlRow(XMLStream & xs, row_type, OutputParams const &,
                           bool header = false) const;
@@ -979,7 +987,7 @@ public:
        int plaintext(odocstringstream & ods, OutputParams const & op,
                      size_t max_length = INT_MAX) const;
        ///
-       int docbook(odocstream &, OutputParams const &) const;
+       void docbook(XMLStream &, OutputParams const &) const;
        ///
        docstring xhtml(XMLStream &, OutputParams const &) const;
        ///