]> git.lyx.org Git - features.git/commit
DocBook: make Paragraph::simpleDocBookOnePar return a list of paragraphs.
authorThibaut Cuvelier <tcuvelier@lyx.org>
Wed, 26 Aug 2020 19:19:38 +0000 (21:19 +0200)
committerThibaut Cuvelier <tcuvelier@lyx.org>
Sat, 19 Sep 2020 18:43:38 +0000 (20:43 +0200)
commit52b2d3f683250f7405f0efe14c4f1ff9c064bcf5
tree396cbd4d7cf9003eb706eacbf9c9f57e06ec64cb
parentfaaf780bed0e48eff34390c7c0bdb98e0f41b244
DocBook: make Paragraph::simpleDocBookOnePar return a list of paragraphs.

Before, it directly wrote to the XMLStream, but it made implementation of new lines tricky. Now, it returns the XML for each sub-paragraph (delimited by new lines) as a string, so that the caller can adopt a more precise behaviour (such as in lists).
autotests/export/docbook/lists.lyx
autotests/export/docbook/lists.xml
lib/doc/Customization.lyx
src/Paragraph.cpp
src/Paragraph.h
src/insets/InsetERT.cpp
src/insets/InsetNewline.cpp
src/output_docbook.cpp
src/xml.h