Is it possible to import a docx Word-document with bookmarks into the RadRichTextBox and then jump to a bookmark that has been set with Word in the docx file? We use the version 2012.2.608.40 of RadRichTextBox.
I created a bookmark “Test1” in Word, saved the document as docx and imported the docx file into a RadRichTextBox. Then I called document.GetBookmarkByName() and document.GetAllBookmarks(). But the bookmark wasn’t found in both methods. See my sample code below.
public void ImportDocx(string filename)
RadDocument document = null;
IDocumentFormatProvider provider = new DocxFormatProvider();
using (FileStream stream = new FileStream(filename, FileMode.Open))
document = provider.Import(stream);
radRichTextBox.Document = document;
BookmarkRangeStart bookmarkRangeStart = document.GetBookmarkByName("Test1");
Is the import of bookmarks created with Word not supported?