I’ve attached a document that no longer works in version 19.5. We have some code that processes bookmarks and determines whether or not to remove. We followed the logic in this post: Proper way to remove bookmark and content?
So to start, any bookmarks in the word document that are not going to be processed (removed via logic above), I simply call Bookmark.Remove(). Then for all the remaining ones where I need to really remove the bookmark and the content I do the logic from above.
For the document attached, we’d simply remove the bookmark opt_A_popup (leaving the content), then try to remove the opt_A_wo_popup (and it’s content).
On version 17.2, the result looked like this (the first column in the Actuary Adjustment row):
image.png (21.2 KB)
Now in 19.5, the result looks like this:
image.png (22.1 KB)
So in addition to the value not being displayed (b/c I think the content of opt_A_popup is being removed), you can see the columns of the table are shifting a bit as well for some reason.
Do you see anything wrong with the two bookmarks mentioned (that are side by side in the document) or able to explain why it worked before and no longer works?
UPDATE: I can’t upload my word document. Is that possible so you can review my document?