Created attachment 165662 [details] Example file from Writer Writer shapes have the property Word Wrap text in shape but this is saved to DOCX always as true even if it was turned off. Steps to reproduce: 1. Insert – Shape – Basic Shapes - Rectangle 2. Double click on it and enter long text that would not fit in one line into the shape 3. Format – Text box and shape – Text Attributes 4. Turn OFF the Word Wrap text in shape so the long text will flow out of the shape 5. Save as docx and reload / open in Word Actual results: Long text is wrapped. Expected results: Long text is not wrapped. LibreOffice details: Version: 7.1.0.0.alpha0+ (x64) Build ID: 8c18cd6823ddf4ef5ba67801a84cee26c9b5a9a6 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: CL Also in: Version: 7.0.0.3 (x64) Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e CPU szálak: 4; OS: Windows 6.3 Build 9600; Felületmegjelenítés: Skia/Raster; VCL: win Locale: hu-HU (hu_HU); UI: hu-HU Calc: CL Verzió: 6.0.0.3 Build az.: 64a0f66915f38c6217de274f0aa8e15618924765 CPU szálak: 4; OS: Windows 6.3; Felületmegjelenítés: alapértelmezett; Területi beállítások: hu-HU (hu_HU); Calc: CL Version: 5.0.0.5 Build ID: 1b1a90865e348b492231e1c451437d7a15bb262b Locale: hu-HU (hu_HU) Version: 4.3.0.4 Build ID: 62ad5818884a2fc2e5780dd45466868d41009ec0 In 4.2 and before these were exported as VML shapes, with the same problem.
Created attachment 165663 [details] The original file saved by Writer as DOCX
Created attachment 165664 [details] Screenshot of the original and exported document side by side in Word and Writer
Great report. Repro 7.1+. Just to add, LO opens LO-saved DOCX similar to MSO, as expected.
This is how it works from Word: <wps:bodyPr wrap="none" lIns="90000" tIns="45000" rIns="90000" bIns="45000" anchor="ctr"> <a:noAutofit/> </wps:bodyPr> Writer does not save the wrap="none" attribute.
*** Bug 138952 has been marked as a duplicate of this bug. ***