Hello all
I have a service that generates an html file and then i convert that to word. Within the logic of generating the html some words need to be highlighted. The only way i see how to do that is when i generate the <span> tag i add a background style for the highlight. so i get something like this:
<span style="backgroundcolor:yellow"> my generated text </span>
This works fine and the resulting word file has the text highlighted.
My problem is this: the only way to get the highlight off when editing the word file (which is necessary) is to select the highlight text and then "remove styling". I cant just remove the highlight because its embedded in the style of the span tag. This confuses my users. Is there any other way to highlight the text? I cant use the way the documentation shows because how they do it the document is already there and you can select text and highlight it. I have to do it via the HTML that i generate.
Hope i explained my issue well enough. any ideas?
Thanks
Roy