Description: Hyphenation zone in DOCX documents created with Microsoft Word 2010 resets default value when the document is exported in LibreOffice Writer and opened in Word 2010. Steps to Reproduce: 1. Create a new document in Microsoft Word. 2. Type “=rand(5)” and press Enter. 3. On the Page Layout tab, in the Page Setup group, click Hyphenation. 4. Select Hyphenation Options. 5. Select Automatically hyphenate document. 6. Change a the value next to Hyphenation zone: for example 1,5 cm. 7. Click on OK button. 8. Save the file as DOCX. 9. Open the same file in LibreOffice Writer. 10. Select File and Save As. 11. Name the file. 12. Open the exported file in Microsoft Word. 13. Compare the original file opened in Word and the exported file opened in Word. Actual Results: Hyphenation zone resets default value (0,75 cm) when the exported document is opened is Microsoft Word 2010. Expected Results: Hyphenation zone should have the same value as the original file opened in Microsoft Word 2010. Reproducible: Always User Profile Reset: No Additional Info:
Created attachment 146949 [details] Screenshot of the original and exported document side by side in Word.
Created attachment 146950 [details] Example file from Word
Created attachment 146951 [details] The original file saved by Writer
I can confirm that the bug is present in Microsoft Word 2007 Version: 6.0.6.2 Build ID: 0c292870b25a325b5ed35f6b45599d2ea4458e77 CPU threads: 2; OS: Windows 6.1; UI render: default; Locale: en-US (en_US); Calc: group
@NISZ team, @Durgapriyanka, any chance this could be tested with a previous version of LibreOffice ( e.g. LibreOffice 3.3 or LibreOffice 4.4 )
Reproduced in: Version: 4.4.0.0.alpha2+ Build ID: 1307c65d74fc9a1241f0a50142921cadac1e882b Locale: hu_HU
Repro with LibO 3.3.0 and attachment 146950 [details]. Confirmed with MSO 2013.
Still reproducible in Version: 6.4.0.0.alpha0+ Build-ID: 2eb60e4b4fc45d904e04fd52d485923948c96898 CPU-Threads: 8; BS: Linux 5.0; UI-Render: Standard; VCL: gtk3; Gebietsschema: de-DE (de_DE.UTF-8); UI-Language: de-DE Calc: threaded
Samuel Mehrbrodt committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/c58b39b77dcafcf63872e7dc4270c7258072b193 tdf#121661 Roundtrip w:hyphenationZone via InteropGrabBag It will be available in 6.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Samuel Mehrbrodt committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/47ce1d70a287c2e652603ba6810a6bb6745338bf tdf#121661 Add test It will be available in 6.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Samuel Mehrbrodt committed a patch related to this issue. It has been pushed to "libreoffice-6-3": https://git.libreoffice.org/core/commit/fb67e254f777173095e25ed7570755aeeb5f43e0 tdf#121661 Roundtrip w:hyphenationZone via InteropGrabBag It will be available in 6.3.4. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.