https://bugs.documentfoundation.org/show_bug.cgi?id=106552
Bug ID: 106552
Summary: Commandline convert DOCX to fodt or odt, wrong
<text:soft-page-break/>
Product: LibreOffice
Version: 5.2.5.1 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: libreoffice-bugs@lists.freedesktop.org
Reporter: jan.idzikow...@knowledgetools.de
Description:
Different results when convert DOCX document to fodt|odt with gui and
commandline:
soffice --headless --convert-to "fodt:OpenDocument Text Flat XML" --outdir
/home/ji/tmp/break 2pages.docx
In the fodt and odt (content.xml) file, which where converted with the
commandline, there are 2 <text:soft-page-break/> breaks instead of 1 and both
in the wrong place.
When i save the DOCX document to fodt or odt in the gui, is everything ok.
The DOCX document has 2 pages.
Steps to Reproduce:
1. soffice --headless --convert-to "fodt:OpenDocument Text Flat XML" --outdir
YOUR_DIR 2pages.docx
2. xmllint --format 2pages.fodt |grep page-break
Actual Results:
soffice --headless --convert-to "fodt:OpenDocument Text Flat XML" --outdir
YOUR_DIR 2pages.docx
xmllint --format 2pages.fodt |grep page-break
Expected Results:
<office:text text:use-soft-page-breaks="true">
<text:p text:style-name="Standard"><text:soft-page-break/>Page 1
25</text:p>
<text:p text:style-name="Standard"><text:soft-page-break/>Page 1
51</text:p>
Reproducible: Always
User Profile Reset: No
Additional Info:
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Ubuntu Chromium/53.0.2785.143 Chrome/53.0.2785.143 Safari/537.36
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs