We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Is there a way to attach files inside the word document created?

Hi,

I have a situation where I need to show other files (like pdf, bmp, doc, gif, etc.,) inside the word document as clickable icons. When the end user clicks the icon they should be able to view it.

This can be achieved in MS Word by selecting Insert — Object ---- Create from File (tab). Browse for the file and check “Display as Icon” and click OK. This inserts whatever file we chose and displays that as a clickable icon.

Can this be achieved with the Aspose words API?



Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. Inserting new OLE objects into Word documents 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.

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.
(20)