I am evaluating APOSE Cells for purchase but I’ve hit a brick wall.
I am trying to detach all OLE embedded documents from an excel file using JAVA
(following this sample)
The link points to an example using C# and JAVA to insert an object but the example shows only
shows C# detaching files (not java )
Is there anyway to detach embedded OLE objects from an excel file using JAVA?
Thanks in advance,
Thanks for your inquiry.
Well, I 'm afraid the feature (extraction of oleobjects) not fully supported for Java version of the product as there are still some issues involved regarding oleobject data (as we tested). We will look into it soon to implement it. We have updated the doc topic to include the parallel Java code: https://docs.aspose.com/display/cellsjava/Managing+OLE+Objects for the users.
Do you have any news about the issue?
Best Regards, Evgeniy
Thanks for following up
We will update you soon.
Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thank you for considering Aspose.
Please try the attached latest version of Aspose.Cells. Now, we have supported to read OleObject's data from template file and you can use OleObject.getObjectData() to get data of the OleObject:
FileOutputStream fos = new FileOutputStream(filename);
byte data = ole.getObjectData();
Thank You & Best Regards,
With the attached version of Aspose.Cells this works, thank you!
When the feature will be included into the official release?
Best regards, Evgeniy
Well, you can use this fix as an official release. It is an intermediate kind of version which is provided as a fix against some bugs/new features. Normally, this kind of version is posted in the support forums. You can use this version for your requirements; it will behave like an official release. It is to be noted here, our next official release would include all the functionality of the previous fixes (including all the intermediate versions till the next official release).
Anyways, we will provide an eta for the next official release soon.
Hopefully, we can release our next official version for Java before the end of this week or in the next week.
Have a good day!
The issues you have found earlier (filed as CELLSJAVA-7900) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
Thanks for your posting and using Aspose.Cells for Java.
We were able to observe this issue using your code with the latest version: Aspose.Cells for Java (Latest Version) OleObjectCollection.removeAt() does not remove the OLE object. We have attached the output xlsx file for a reference.
We have logged this issue in our database for investigation. We will look into it and fix this issue. Once, the issue is resolved or we have some other update for you, we will let you know asap.
This issue has been logged as CELLSJAVA-40778.