PhpSpreadsheet icon indicating copy to clipboard operation
PhpSpreadsheet copied to clipboard

The shapes in Excel have disappeared.

Open huhan123456 opened this issue 4 months ago • 2 comments

Dear PHPOffice team,,

I hope this message finds you well. I am currently using PhpSpreadsheet and encountered an issue. After executing the example code, I opened the generated file 2.xlsx, and noticed that the shapes in Sheet1 have disappeared.

Could you kindly assist me in identifying the cause of this issue? Any help or insight would be greatly appreciated.

Thank you for your time and support.

Best regards, huhan

1.xlsx

Example code: $spreadsheet = IOFactory::load('1.xlsx'); $writer = IOFactory::createWriter($spreadsheet, 'Xlsx'); $writer->save('2.xlsx');

PHP 8.1.31 PHPSpreadsheet 4.4.0

huhan123456 avatar Oct 13 '25 07:10 huhan123456

Confirmed. I do not have a handle on what the problem is. I will it to my to-do list.

oleibman avatar Oct 14 '25 00:10 oleibman

Thank you for your prompt response and for adding this to your to-do list. I appreciate your time and look forward to your update.

Best regards, huhan

huhan123456 avatar Oct 16 '25 03:10 huhan123456

Closing. This is now supported (with some restrictions) using the pass-through support introduced by PR #4712.

oleibman avatar Dec 14 '25 16:12 oleibman