- pos_type firstWordLyXHTML(XHTMLStream & xs, OutputParams const & runparams) const;
-
- /// Writes to stream the docbook representation
- void simpleDocBookOnePar(Buffer const & buf,
- odocstream &,
- OutputParams const & runparams,
- Font const & outerfont,
- pos_type initial = 0) const;
+ pos_type firstWordLyXHTML(XMLStream & xs, OutputParams const & runparams) const;
+
+ /// Outputs to stream the DocBook representation, one element per paragraph.
+ std::tuple<std::vector<docstring>, std::vector<docstring>, std::vector<docstring>>
+ simpleDocBookOnePar(Buffer const & buf,
+ OutputParams const & runparams,
+ Font const & outerfont,
+ pos_type initial = 0,
+ bool is_last_par = false,
+ bool ignore_fonts = false) const;
+