I’m currently evaluating Aspose.Words to export html to word. I’m using insertHtml and I found solutions for most problems either in the docs or in this forum, but now I’m stuck with a very simple one: styles for hyperlinks. I want hyperlinks in word to appear in light blue color and without underline, defined like:
style="color:#476dc0;text-decoration:none;"I tried inline styles, inline css and linked css file, but everything is ignored at the “a” element.
I finally found a solution by including a “span” in the “a”, but this requires changing the html before exporting which is not desirable:
Is there any better possibility?