Hi Support,
In the attached document, there is a table. I added a bookmark named “test_bookmark_1” before the table. I also added a bookmark named “test_bookmark_2”. I can only get “test_bookmark_1” but not “test_bookmark_2” from the bookmark collection using the logic below.
BookmarkCollection bookmarks = srcDoc.getRange().getBookmarks();
for (Bookmark bm : bookmarks)
{
System.out.println("Found Bookmark : Name - " + bm.getName());
}
System.out.println("Number of bookmarks: " + bookmarks.getCount());
Can you confirm if it is a bug? If it is, Is there any workaround for this issue? Thanks.
Alan