Bug 144795

Summary: Frame Autosize setting thrown away on DOC/DOCX export
Product: LibreOffice Reporter: Telesto <telesto>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: libreoffice
Priority: medium    
Version: Inherited From OOo   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Example file

Description Telesto 2021-09-29 11:44:37 UTC
Description:
Frame Autosize setting thrown away on DOC/DOCX export 

Steps to Reproduce:
1. Open the attached file
2. Right click the frame -> Properties 
3. Type Tab -> Notice AutoSize being checked
4. Cancel the dialog
5. Type something into the text frame.. notice the frame growing..
6. Save as DOCX
7. File reload
8. Follow step 2 and 3 -> Autosize unchecked.

If I import the DOCX into Word, there is an option (my translation from Dutch) AutoShape -> Text Box -> Change size Auto Shape to text.. If I enable this.. the shape grows..

If save it in DOC and open it back into Writer Autosize being turned on (expected)

Actual Results:
Doesn't export auto-size

Expected Results:
Shouldn't throw that setting away


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: b60b6bfaafa1315e07108dba50f016975b619c59
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2021-09-29 11:44:56 UTC
Created attachment 175355 [details]
Example file
Comment 2 Telesto 2021-09-29 11:50:10 UTC
Also this way in
LibreOffice 3.5.7.2 
Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b
Comment 3 NISZ LibreOffice Team 2021-09-30 08:25:00 UTC
Yes, this is known... but difficult, since Writer frame objects are saved as DML shapes to DOCX, and shapes cannot have "Automatic" size, only fixed size in cm or relative in % to page size/margins.

*** This bug has been marked as a duplicate of bug 128190 ***