DocIO.How can I extract all of the embedded OLE objects?

How can I extract all of the embedded OLE objects from a Word document and save them to the file system in their native file format with docio?
I want to extract all embedded objects to the file system and save them in their native format (ex. pdf,xlsx).

I know that image files are available. Please help me if you know how.

Thanks!

3 Replies

DB Dilli Babu Nandha Gopal Syncfusion Team January 3, 2018 06:23 AM UTC

Hi Kyung, 
 
Thank you for contacting Syncfusion support. 
 
Yes, it is possible to retrieve the embedded object’s data and saved them to their respective type(ObjectType) by using NativeData and Container property of WOleObject. We are facing an issue while saving the embedded object’s data to a file and suspect to be a defect. So, a support incident to track the status of your query has been created under your account. Please log on to our support website to check for further updates,

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Please let us know if you have any concern.

Regards,
Dilli babu. 



RJ Rohit J May 11, 2020 11:50 AM UTC

Hi,

Any updates on this?  I would also like to know how to retrieve the documents embedded in a Word file.

Regards,
Rohit


MR Manikandan Ravichandran Syncfusion Team May 12, 2020 02:43 PM UTC

Hi Rohit,

Thank you for your update.

We have prepared the sample to extract the OLEObject from the word document and save as a separate file
with their native file format. It can be downloaded from the below link.
https://www.syncfusion.com/downloads/support/forum/135248/ze/CreateWordDocument281702090

In the sample we have done the following things,
1.Opens an existing DOCX format Word document.
2.Gets OLE object from the Word document.
3.Saves the embedded OLE object as separate document in a location.
4.Saves the Word document and closes the document.

Please let us know if you have any other questions.

Regards,
Manikandan Ravichandran
 


Loader.
Up arrow icon