Bug 145949

Summary: FILESAVE DOCX: Text outside Explosion shape on DOCX (fine with DOC)
Product: LibreOffice Reporter: Telesto <telesto>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: aron.budea, buzea.bogdan, kelemeng
Priority: medium    
Version: 7.3.0.0.alpha1+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=82627
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 136358    
Attachments: Example file
Modified example file
Docx export of the modified example file
The modified example and its reloaded docx version in 7.3

Description Telesto 2021-11-29 12:35:29 UTC
Description:
FILESAVE DOCX: Text outside Explosion shape on DOCX 

Steps to Reproduce:
1. Open the attached file
2. Save as DOCX
3. File -> Reload

Actual Results:
Text outside shape. Word Online does open the file properly either

Expected Results:
Some as DOC/ODT


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ddc57169ac8d1de00403dbb09fef5221beaa0f3d
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2021-11-29 12:35:43 UTC
Created attachment 176567 [details]
Example file
Comment 2 Gabor Kelemen (allotropia) 2021-11-29 21:56:26 UTC
Created attachment 176579 [details]
Modified example file

Confirmed in 
Version: 7.3.0.0.alpha1+ / LibreOffice Community
Build ID: 59e70256a358db136f5fd23651aea96d218b1a64
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded

This is because the red shape is rotated a bit "to the right".
If it's not, then the docx export works, as demonstrated by this extended example.
Comment 3 Gabor Kelemen (allotropia) 2021-11-29 21:56:56 UTC
Created attachment 176580 [details]
Docx export of the modified example file
Comment 4 Gabor Kelemen (allotropia) 2021-11-29 21:59:58 UTC
Created attachment 176581 [details]
The modified example and its reloaded docx version in 7.3

The shapes rotation seems to roundtrip correctly, but the textbox inside does not. 
See also the topic of rotated frames: bug 82627 - this case is also a consequence of that.