]> git.lyx.org Git - features.git/blobdiff - src/Paragraph.h
brkstr2str_pos: avoid case where length is negative
[features.git] / src / Paragraph.h
index c67a507397c671273c093396efbc46cda04124e1..01ccd2591bf57d1f0f3db6a8751ccc71aec00633 100644 (file)
@@ -204,7 +204,8 @@ public:
        pos_type firstWordLyXHTML(XMLStream & xs, OutputParams const & runparams) const;
 
        /// Outputs to stream the DocBook representation, one element per paragraph.
-       std::vector<docstring> simpleDocBookOnePar(Buffer const & buf,
+       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,
@@ -238,6 +239,10 @@ public:
        ///
        bool isPassThru() const;
        ///
+       bool parbreakIsNewline() const;
+       ///
+       bool isPartOfTextSequence() const;
+       ///
        pos_type size() const;
        ///
        bool empty() const;