Bug 155301

Summary: Copying embedded Excel chart is not possible on Linux
Product: LibreOffice Reporter: Hossein <hossein>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: buzea.bogdan, raal
Priority: medium    
Version: 4.3.0.4 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 107810    
Attachments: DOCX file containing an embedded Excel chart object

Description Hossein 2023-05-14 15:47:27 UTC
Created attachment 187277 [details]
DOCX file containing an embedded Excel chart object

Description:
The attached file contains an Excel chart object. On Windows, it is possible to copy the chart into a new LibreOffice document, but it is not possible to do this on Linux.

Steps to Reproduce:
1. Open the attached DOCX file
2. Press ctrl+a, ctrl+c, ctrl+n, ctrl+v to copy and paste the content to a new LibreOffice Writer file

Actual Results:
Bad output, the chart is not visible. Also, a wrongly written text is shown, "1 tcejbO" instead of "Object 1".

Looking into the contents of the DOCX file, it contains this embedded Excel file:

 /word/embeddings/Microsoft_Excel_Worksheet.xlsx

Expected Results:
The chart should be visible, as it was in the original document

Reproducible: Always


User Profile Reset: No

Additional Info:

Correct behavior on Windows:
Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 6f1534940ac12ff8e46f4782e18cfb6cf585da39
CPU threads: 32; OS: Windows 10.0 Build 19044; UI render: default; VCL: win
Locale: en-US (en_DE); UI: en-US
Calc: threaded

Copying not possible on LO 7.6 dev master on Linux

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 6f1534940ac12ff8e46f4782e18cfb6cf585da39
CPU threads: 12; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: CL threaded
Comment 1 raal 2023-05-14 17:16:52 UTC
Confirm with Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 88bd66d258de5fee3d35aba80c61fec49eb2a969
CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

and Version: 4.2.0.0.alpha1+
Build ID: fc8f44e82de4ebdd50ac5fbb9207cd1a59a927e3

embedded object doesn't appear in Version: 4.1.0.0.alpha1+
Build ID: a2c9d4f8bbde97f175bae4df771273a61251f40