Open .xlsx-files including embedded .PDF files with Calc

sample-embedded.xlsx

Hi Libre,

Attached file have a embedded pdf file. I have tried to open in Libre Office 5.4 Calc, But Its show image others then embedded object. Sample file I tried to open in MS Excel it open the PDF file.

Please help us to solve this issue.

Regards
SW.

The file contains a binary OLE object Composite Document File (./xl/embeddings/oleObject1.bin) that again contains the PDF. The OOXML markup-compatibility elements for this are <mc:AlternateContent ...> and <mc:Choice Requires="x14"> which Calc doesn’t support, so the <mc:Fallback>'s PDF icon is shown.

If you have Excel 2013 or newer you can try to save in Excel as ODF .ods file, but I doubt that will give a usable result.

The alternative could be to not embed the file but link it (as hyperlink cell content or using the HYPERLINK spreadsheet function) instead, residing in the same directory as the spreadsheet file and zip both files together.

Thanks for the quick response.