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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Table and text inside a bookmark

Thread ID:

Created:

Updated:

Platform:

Replies:

103132 Apr 4,2012 10:07 AM UTC Apr 5,2012 11:52 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: DocIO
Julien Charles
Asked On April 4, 2012 10:07 AM UTC

Hi,
I would like to insert some text and a table inside a bookmark like this :

some text
My Table <--- a custom table
some other text

The problem is the table is always placed at the end of the bookmark, even if i insert them in the right order. The result :

some text
some other text
My Table <--- a custom table

The code I use :
WordDocument document = new WordDocument();
IWTextRange wt;
document.Open("my template Word dot");
BookmarksNavigator bnSignets = new BookmarksNavigator(document);
bnSignets.MoveToBookmark("mySignet", true, true);
wt = (IWTextRange)bnSignets.InsertParagraphItem(ParagraphItemType.TextRange);
wt.Text = "some text";
bnSignets.InsertTable(myTable); //myTable has been initialized before
wt = (IWTextRange)bnSignets.InsertParagraphItem(ParagraphItemType.TextRange);
wt.Text = "some other text";

Is it possible to have the format I want ? Is it a problem of my table format ?
I use the 7.1 version of DocIO

Thanks
Julien



Ramkumar M [Syncfusion]
Replied On April 5, 2012 11:52 AM UTC

Hi Julien,

Thank you for your interest in Syncfusion products.

The mentioned issue “Mismatch in order while inserting table inside a Bookmark” is fixed in our Volume 1 release (Version 10.1.0.44). To overcome this issue could you please upgrade to Version 10.1.0.44 from the below link

http://www.syncfusion.com/support/forums/general/102428/Essential-Studio-2012-Volume-1-Final-Release-v101044-available-for-download

Please let us know if you have any other questions.

Regards,
Ramkumar



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

;