https://bugs.documentfoundation.org/show_bug.cgi?id=98700
Bug ID: 98700
Summary: FILESAVE: "keep with next paragraph" Wrongly Set When
Save as DOCX
Product: LibreOffice
Version: 5.1.1.3 release
Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: filters and storage
Assignee: [email protected]
Reporter: [email protected]
Created attachment 123614
--> https://bugs.documentfoundation.org/attachment.cgi?id=123614&action=edit
Test ODT file
The attached ODT file has "keep with next paragraph" option *off* for paragraph
"BBBBBBBBBBBBBB". When save as DOCX, this option is turned on unexpectly.
Steps to reproduce:
1. Open the attached ODT file. Obseave that the paragraph "BBBBBBBBBBBBBB" has
"keep with next paragraph" option turned off (Format - Paragraph - Text Flow -
Keep with next paragraph" unchecked).
2. Save as DOCX.
3. Unzip the DOCX file, obseave the following:
(1) In word/document.xml there is <w:pStyle w:val="1"/> tag for paragraph
""BBBBBBBBBBBBBB", which means this paragraph is using Style ID 1.
(2) In word/style.xml, we find the style with ID I: <w:style w:styleId="1"
w:type="paragraph">. Observe that there is a <w:keepNext/> option in this
style. (here is the bug).
Current Behaviour:
There is a <w:keepNext/> for w:styleId="1" in step 3(2).
This causes the paragraph to "keep with next paragraph" when open with
Microsoft Word.
See
https://msdn.microsoft.com/en-us/library/office/documentformat.openxml.wordprocessing.keepnext.aspx
Expected Behaviour:
No <w:keepNext/> for w:styleId="1" in step 3(2).
Version: 5.1.1.3
Build ID: 89f508ef3ecebd2cfb8e1def0f0ba9a803b88a6d
CPU Threads: 2; OS Version: Windows 6.2; UI Render: default;
Locale: zh-CN (zh_CN)
Win 10 x64
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs