Format of word document should be not removed after setting the bookmark

Hi Team,

I am facing issue an issue that while setting bookmark.setText(""), the format get changed. As a result, gives the wrong result. Could you suggest me way, if want set text of bookmark as empty and format doesn’t change?

Thanks,
Ashish

@forasposeissues,

Can you attach the code snipped and the document affected?