| Summary: | DOCX: fix layout of hyphenated text by supporting allowHyphenationAtTrackBottom and useWord2013TrackBottomHyphenation | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | László Németh <nemeth> |
| Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | nemeth |
| Priority: | medium | ||
| Version: | Inherited From OOo | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | target:24.8.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | 132599 | ||
| Bug Blocks: | 120883 | ||
| Attachments: |
3-page document (useWord2013TrackBottomHyphenation = "1" and allowHyphenationAtTrackBottom = "0")
2-page document (allowHyphenationAtTrackBottom="1") 2-page flat ODF document (allowHyphenationAtTrackBottom="1") 3-page flat ODF document composite screenshots of DOCX export of the 2-page flat ODF document |
||
|
Description
László Németh
2024-04-04 10:01:33 UTC
Created attachment 193486 [details]
3-page document (useWord2013TrackBottomHyphenation = "1" and allowHyphenationAtTrackBottom = "0")
Created attachment 193487 [details]
2-page document (allowHyphenationAtTrackBottom="1")
László Németh committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/c8ee0e8f581b8a6e41b1a6b8aa4d40b442c1d463 tdf160518 DOCX: import hyphenation-keep to fix layout It will be available in 24.8.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. László Németh committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/b538729c90af470c33aeb3002750321ac8ac88be tdf#160518 sw: fix DOCX import/export of hyphenation-keep It will be available in 24.8.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. Created attachment 194211 [details]
2-page flat ODF document (allowHyphenationAtTrackBottom="1")
Created attachment 194212 [details]
3-page flat ODF document
Created attachment 194214 [details] composite screenshots of DOCX export of the 2-page flat ODF document Before the export fix (upper row): The document has 3-page broken layout in MSO (red). After the export fix (bottom row): The document has 2-page layout in MSO, too. Note: for the export, use "Word 2010–365 Document (.docx)" format, or in the command line: soffice --convert-to "docx:Office Open XML Text" tdf160518_auto_in_default_paragraph_style.fodt |