Created attachment 168382 [details] Example file from Writer This is reduced from attachment #134738 [details] of bug #109218 When saving an Editeng textbox to DOCX format with a paragraph break in the text, the break is not saved. Steps to reproduce: 1. Insert – Text box 2. Add some text to the textbox, separate it to rows with paragraph break (Shift+Enter) 3. Save as docx, reload Actual results: No paragraph break. Expected results: Paragraph break should be retained. LibreOffice details: Version: 7.2.0.0.alpha0+ (x64) Build ID: 315c7570c4a72f4c834086082825533b1e50d1bf CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: CL Also in: Version: 6.0.0.3 Build ID: 64a0f66915f38c6217de274f0aa8e15618924765 CPU threads: 4; OS: Windows 6.3; UI render: default; Locale: en-US (hu_HU); Calc: CL Version: 5.0.0.5 Build ID: 1b1a90865e348b492231e1c451437d7a15bb262b Locale: hu-HU (hu_HU) Version 4.0.0.3 (Build ID: 7545bee9c2a0782548772a21bc84a9dcc583b89) In 3.6 the shape was exported without any text.
Created attachment 168383 [details] The original file saved by Writer
Created attachment 168384 [details] Screenshot of the original and exported document side by side in Writer
I confirm it with Version: 7.0.4.2 (x64) Build ID: dcf040e67528d9187c66b2379df5ea4407429775 CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL
Tünde Tóth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/b7a294af40521d71e6583dad2908e09f3758649c tdf#139128 DOCX: fix export of line break in text frames It will be available in 7.5.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.
Tünde Tóth committed a patch related to this issue. It has been pushed to "libreoffice-7-4": https://git.libreoffice.org/core/commit/14c4c6c1d764142a0f0ca8c02ccd2028d378e21e tdf#139128 DOCX: fix export of line break in text frames It will be available in 7.4.0.2. 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.
Verified in: Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 41f02927b6d8470c298c8a2f407c98420a5ebe24 CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Vulkan; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: CL