When I bind a Java class (that's been converted to an XML Stream) to the content controls in a Word document template, I find that rich text formatting isn't preserved. For example, if there's a string with newlines, tabs, or bullet points, the resulting Word doc ignores these 'special' characters. We're instead left with a block of text.
How can I retain the formatting mentioned above?
Thanks.