My issue is simple, i have documents that have style formatting applied to them.
I want to find text that have specific styles applied to them and wrap a tag around them

Example if a sentence

"Have a good day friend"
has a style set in it and the style name is "Header1" then i need to find the text that has the style and add a tag so that it looks like this

<H1>Have a good day friend<H1>