Free Support Forum -

Embedded file ... not really embedded


Hello, do you know the possible reason why an aspose embedded pdf file in an excel sheet is considered a simple picture (when I click on it no action), and the same embedded pdf file is considered a real embedded file in another sheet (when I click on it, pdf is opened). Aspose code java to embed the 2 files is the same, and embedded pdf files are the same. No aspose error in java code.

Embedded file does not work only for a specific sheet and work for the others in the excel file. Perhaps something in the sheet features that prevents aspose from embed files ?

The problem is the same as the type of file to embed.
We use aspose-cells-17.1.0 (we can’t change version) in java env.

Best regards

Best regards



Thanks for the details.

Since you are using some older version of the product, I am afraid, we cannot evaluate your issue using older version. Neither we can include fix in older versions, the fixes are based on latest APIs set only. It might be an issue in the version you are using and we got to look into your template file. So, you should upgrade to latest version (e.g Aspose.Cells for .NET v19.1.x) of the product. Or at least you may try the scenario/ case in a separate test project if it works with v19.1.x or not. If you still find any issue with latest version of the product, kindly do create a sample console Java program (runnable) and post us with the template file and output file, we will check it soon.


I have reproduced it in a console java program.

In this program, I embed a simple pdf (the same ) in F11 and F14 sheets and generate a result file => ONE_RESULT.xlsx
In F11 it is really an embedded file (I can click and open the pdf)

In F14, it is only a picture => bug.

And my tests show that if I change the previous sheets (delete picture, add drawing), the result can change…

Best regards



As we asked your earlier, did you try using our latest version/fix(e.g Aspose.Cells for .NET v19.1.x) in a separate test project if it works or not . If you still find any issue with latest version/fix, kindly do provide us sample console Java program (runnable) and post us the template file (if any) and output file, we will check it soon.

We appreciate your help in this regard.


Yes, I try and reproduce it with the New version of Aspose.Cells for java.
But I am not able to send you the .zip example : upload does not work.
I have sent it to you directly by e-mail reply (2/07/2019).




I did not receive your zipped example yet. We recommend you to kindly upload to some file sharing service (e.g dropbox, Google drive, etc.) and share the Download link here, we will check it soon.


Please find the corresponding zip example.


Here a google drive link to access to the example



We were able to observe the issue but we need to look into it more. We have logged the issue in our database for investigation and for a fix. Once, we will have some news for you, we will update you in this topic.

This issue has been logged as

CELLSJAVA-42833 - Issue while embedding same pdf file in multiple sheets in a workbook