Embed an excel sheet inside a word document


I want to create a new word document and embed an excel sheet inside it. Please see sample.doc. Is it possible using Aspose.Words? Please provide an example code in java.


Thanks for your request. Inserting new OLE objects into Word documents and updating existing OLE objects is not supported at the moment. Inserting an OLE object usually requires the host application and probably cannot be done by Aspose.Words.
What is supported is preserving OLE objects in documents. That is if you open an MS Word document and then save it (possibly in another MS Word format) then OLE objects are preserved. You can also access objects programmatically, extract their data and preview image. However, creating new OLE objects is not supported. This is the issue #3050 in our defect database.
Best regards.

Dear Alexey Noskov,
Thanks for the information.

The issues you have found earlier (filed as WORDSNET-1206) have been fixed in this .NET update and this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.