Word 2002 Bookmark

When opening a MS Word 2002 file and iterating through its bookmarks I am seeing some very strange things with Syncfusion:

1) Syncfusion sometimes sees all the bookmarks and sometimes doesn''t. For example, a Word document contains 7 bookmarks and Syncfusion sees only 4. If I redo the bookmarks with a range (select a couple of spaces then insert the bookmark) Syncfusion then sees them.
2) Syncfusion duplicates bookmarks, for example, it will see a commission bookmark twice in the iteration.

Setup
MS Word 2002

Code snip
private WordDocument Document = new WordDocument();
Document.Open(FilePath);
foreach (Syncfusion.DLS.Bookmark wordBookmark in Document.Bookmarks)
{
...
}

1 Reply

AD Administrator Syncfusion Team August 31, 2006 12:04 AM UTC

Hi,

Thank you for your interest in Essential DocIO.

I was not able to reproduce this issue. I have tried with several template documents for reproduce this issue. But it was working fine for me. Please let me know the Essential Studio version used. Also Could you please create a Direct – Trac incident by mentioning the forum ID for reference and send us your copy of word template document [ It should be more confidential ] that you had tested this issue. So that we able to investigate further on issue.

Sorry for the inconvenience.

Kind regards,
Prabhu

Loader.
Up arrow icon