We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Copy bookmarks

Thread ID:

Created:

Updated:

Platform:

Replies:

100802 Sep 6,2011 03:38 PM UTC Sep 28,2011 04:58 AM UTC Windows Forms 5
loading
Tags: DocIO
Andreas Hirtzel
Asked On September 6, 2011 03:38 PM UTC

Hi,

I'd like to predefine some areas in a doc template with some bookmarks with other bookmarks inside. Then I'd like to select the bookmark and copy it to a new document with other bookmarks in it (like a template). If I try it in word, it will copy the bookmarks inside, but I've not found any sample or description to do the same with DocIO. Is it possible and how?

Adi


Poornima R [Syncfusion]
Replied On September 7, 2011 07:41 AM UTC

Hi Andreas,

Thank you for your interest in Syncfusion Products.

We have prepared the sample to meet your requirement of “Copying the bookmarks from one document to another document along with the nested bookmarks content”. Please find the sample from the below link. In this sample we have used the BookmarkNavigator class to get the specified bookmark content (along with the nested bookmark content) and copied the content to the newly created word document. Try running the sample and let us know if this helps you.

Sample:
GenerateWordDocument-262942144.zip

For more information about bookmark navigation, please refer the below links

Online Documentation link:
http://help.syncfusion.com/ug_93/Reporting/DocIO/ASP.NET/default.htm?turl=Documents%2F44131bookmarknavigator.htm
Online sample link:

http://asp.syncfusion.com/sfaspnetsamplebrowser/9.3.0.61/Web/DocIO.Web/Samples/4.0/Editing/Bookmark_Navigation/CS/Bookmark_Navigation.aspx

Please let us know if you have any questions.

Regards,
Poornima



Andreas Hirtzel
Replied On September 14, 2011 11:36 AM UTC

Hi Poornima,

this works for text, but not for tables. I have to predefine a table and multiply the entire with the number of element data.

Andreas


Poornima R [Syncfusion]
Replied On September 16, 2011 08:25 AM UTC

Hi Andreas,

Thank you for your update.

We have prepared the sample for your requirement of copying the table (within the bookmark content) and multiply the table with new data. Please find the sample from the below link. Try running the sample and let us know if this helps you.

Sample:
GenerateWordDocument264420399.zip

If the above sample is not your actual requirement could you please elaborate on your clear requirement. Please provide us with your input word document and the expected output so that we can provide you with appropriate solution.

Please let us know if you have any questions.

Regards,
Poornima




Andreas Hirtzel
Replied On September 27, 2011 07:43 AM UTC

Thanks, it works fine.


Poornima R [Syncfusion]
Replied On September 28, 2011 04:58 AM UTC

Hi Andreas,

Thank you for your update.

Please let us know if you have any other questions.

Regards,
Poornima



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;