Hi Team,
Please help us to identify whether a paragraph is a Bookmark/Hyperlink. If it is then get only the text without any formation.
Example:
My_Bookmark (which will point to first item of TOC)
When we read the "My_Bookmark" through paragraph.getText(), it returns something like HYPERLINK \l "_Toc325455565" My_Bookmark
We first want to check whether a paragraph is bookmark or not and if it is a bookmark, then we want the same text which is there inside word file without any HYPERLINK blah blah prepended on it.
Thanks in advance.