Indeed, this is an issue in the DocxFormatProvider related to the priority of the different colors, set to the style. In this case, the theme color, which is with higher priority, is not cleared from the style and takes advantage when the document is visualized.
I logged the issue in our bug tracking system and you could subscribe to the related public item
in order to receive updates about status changes on it. Your Telerik points are updated as a token of appreciation for this report.
To work around this, you could set the forecolor of the style in the code-behind:
StyleDefinition style =
style.SpanProperties.ForeColor = Colors.Red;
StyleDefinition styleChar =
styleChar.SpanProperties.ForeColor = Colors.Red;
Hope this helps.
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal
and vote to affect the priority of the items