Print/Merge: ODT output does not produce page-breaks
Steps to reproduce
- Search for contacts
- Select 3 contacts
- Choose the task to print/merge a document
- Choose the output format -- PDF, DOCX, or ODT
In PDF and DOCX format, each contact's data is displayed on a separate page. If you generate ODT and view it in LibreOffice 5.x or 6.1, it produces some weird outlines -- but these do not translate into page-breaks. (The weird lines appear in normal WYSIWYG mode; they disappear in "Print Preview" mode. In neither case do they appear as page-breaks.)
This was observed when using either PHPWord 0.14 or 0.15 in Civi. Based on this upstream issue/PR, ODT pagebreaks ought to be working with PHPWord 0.14+
me@localhost:~/src/PHPWord$ git tag --contains def9123575ed9e3c2e9e36aa4e0ba6f0d09fc6c1
0.14.0
0.15.0
0.16.0
(Note: This is not high priority for me. I just wanted to record because it came up incidentally in some other testing.)