Short version: I need to read an
rtf file, Put the contents into a
String and display as (nicely) formatted text just as in the rtf file.
Long Version: I'm using Jasper Reports and IReport. In a report I need to display rtf formatted text from documents created by users. I'm able to read the file (duh) but I'm unable to display the formatted text.
I can display
plain/unformatted text with this code:
How can I display the text with bolds, italics, font changes etc?
Thanks