RTF and BackColor
Posted: Sat Feb 03, 2007 6:36 pm
Hello
I want to export the contents of a TRichViewEdit into an RTF and then load the RTF into FastReport.
Everything works fine except that the BackColor-property of the text styles do not show in FastReport.
The strange thing is:
When I open the exported RTF in Word, the BackColor is there!! And when I simply save the same RTF from Word and THEN import it in FastReport, the background color is suddenly OK.
So what is the difference between an RTF directly exported from TRichViewEdit and an RTF that is "re-saved" in Word?
If I can just get the BackColor to export the same way as Word exports it, I will be happy.
Thanks for any suggestions!
Marco
I want to export the contents of a TRichViewEdit into an RTF and then load the RTF into FastReport.
Everything works fine except that the BackColor-property of the text styles do not show in FastReport.
The strange thing is:
When I open the exported RTF in Word, the BackColor is there!! And when I simply save the same RTF from Word and THEN import it in FastReport, the background color is suddenly OK.
So what is the difference between an RTF directly exported from TRichViewEdit and an RTF that is "re-saved" in Word?
If I can just get the BackColor to export the same way as Word exports it, I will be happy.
Thanks for any suggestions!
Marco