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

Free Support Forum - aspose.com

Problem in deleting the bookmark content

we are using ASPOSE Total (Java).

I have problem in deleting the content with in the bookmark. the scenario is..

I have a word document X.doc with a bookmark A. Y.doc with bookmark A and B. I want to insert Y with in the bookmark A. when I insert it, the X.doc contains two bookmarks with the same name. so when Query for boomarkStart for A, it is pointing to correct point. but when I say bookmarkEnd for A, it is going to the bookmark end of A which is present in the merged part. how do I solve the issue. any help appreciated.

Regards

Jeevan

Hi

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

Thanks for your request. I think, you should rename duplicated bookmarks. For example, you can try using the code provided in this forum thread:

http://www.aspose.com/community/forums/259176/duplicating-internal-bookmarks/showthread.aspx#259176

Hope this helps. Please let me know if you need more assistance, I will be glad to help you.

Best regards,