Hi Team,
I have recently run into an issue regarding embedded objects in Excel. I have some .xlsx files with different embedded objects in it.
- embedded .xls file
- embedded .doc file
- embedded .ppt file
I can collect, edit and re-insert all of them into the .xlsx file, however when I want to open or save the updated objects from the root document, I cannot manage to do that with the .ppt file (it seems broken), while the others work fine.
Tried on Windows with the latest stable Aspose DLLs.
I attached a sample project in a zipped folder with the documents I tried to process and the output documents as well. You just need to run the application in console and give the licence and input file paths as arguments. It will generate the output file to the same location where the input file is.
I have already experimented a bit meanwhile with the application I attached and would like to share my experience with you:
- When I do not process the embedded PPT object with Aspose.Slides, just save the object from Excel to stream and insert that stream immediately back to the Excel workbook, the embedded PPT can be opened in the result workbook. However, if I just load and save it with Aspose.Slides using the corresponding loadformats and saveformats (without writing something to the embedded file or any modification), it gets wrong.
- Also, I managed to save the embedded PPT from the document to disk after it had been loaded and modified with Aspose.Slides and it could be opened successfully as a standalone file. Maybe there is something wrong with saving the embedded PPT object to stream?
I would be grateful if you could help me.
Thanks in advance,
Tamas Boldizsar
embedded_ppt_gets_broken_after_update_in_excel.zip (134.4 KB)