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

Free Support Forum - aspose.com

Embed Object Example

Document parent = new Document(“C:\parent.rtf”);

Document child = new Document("C:\\child.rtf");
Bookmark bookmark = parent.getRange().getBookmarks().get("mybookmark");
//parent.embedDocument(bookmark.getBookmarkStart().getParentNode(),child);


Is it possible to insert/embed child in parent in such a way that child can be opened as a separate object when viewing parent? The behavior I'm trying to duplicate is as follows:

Open Word 2010
Open C:\parent.rtf
Insert/Object
Create from File
File name: C:\child.rtf
Link to file: false
Display as icon: false

Hi Matthew,

Thanks for your query.
Unfortunately, inserting new OLE objects into Word
documents and updating existing OLE objects is not supported at the
moment.

We had already logged this feature request as WORDSNET-1206 in our issue tracking system. I have linked this forum thread to the same feature and you will be notified via this forum thread once this feature is available.

We apologize for your inconvenience.

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