Bug 142525

Summary: FILEOPEN DOCX: Text box size reduced, so text no longer fits inside
Product: LibreOffice Reporter: Justin L <jluth>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: jluth, libreoffice
Priority: medium Keywords: bibisected, bisected, regression
Version: 7.1.0.0.beta1+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=41466
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 136648    
Attachments: test77219.docx: from ooxmlexport7
test compared in MSO 2016 and LO 7.2+
The textbox properties in Word and Writer

Description Justin L 2021-05-27 11:00:04 UTC
Created attachment 172390 [details]
test77219.docx: from ooxmlexport7

The top left hand box before used to show all of "John Doe
Date Of Birth:	ID:"
Now basically only "John Doe" is visible.

This stared in LO 7.2 (and backported to 7.1) with
author	Regényi Balázs on 2020-12-10 12:03:39 +0100
commit aefb6aaf6475b71668bab7e11ce51b0fdc34f299
    tdf#41466 DOCX import: fix VML v:shape/v:textbox

https://cgit.freedesktop.org/libreoffice/core/commit/?id=aefb6aaf6475b71668bab7e11ce51b0fdc34f299
Comment 1 Timur 2021-05-28 07:34:10 UTC
Created attachment 172398 [details]
test compared in MSO 2016 and LO 7.2+
Comment 2 NISZ LibreOffice Team 2021-05-28 13:34:22 UTC
Created attachment 172409 [details]
The textbox properties in Word and Writer

This VML textbox has the "Word wrap text in shape" property turned ON in Word, but not in Writer. 
Manually checking that box in Writer fixes the display of the text contents.
Comment 3 Justin L 2023-05-10 20:08:55 UTC
repro 7.6+
If I round-trip it in Word 2010, then it looks fine. It changes into something else that imports wrap fine. I couldn't even find the xml setting that controls whether the text wraps inside the frame or not.