Hi,
I’ve noticed the following discrepancy. Whenever I save an ODT document as FODT through the GUI, the resulting file has soft-page-break markers matching the original rendered pagination of the ODT document. However, when I do the same using the headless CLI with --convert-to, the pagination is different and sometimes completely missing. Interestingly, both output files have meta:page-count="3" attribute meaning that also the CLI is aware of the pages.
Any ideas how to produce matching results with these two methods?
I’m using LibreOffice 25.8.3.2 but have noticed the same also with 24.8.7.2.
Steps to reproduce using sample.odt (9.4 KB):
- Open the document with LibreOffice
- “File” → “Save as” → “.fodt”
- Open the produced
.fodtfile with text editor and find 2<text:soft-page-break/>tags (3 pages in the original document) - Run `libreoffice --convert-to fodt /sample.odt
- Open produced
.fodtfile and find 0 soft page break tags
BR,
Hen