Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RTFEditorKit - underline not working

 
chris gar
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using RTFEditorKit to read rtf files and display on reports. I know the kit it typically used for GUI - but I'm not sure else how to read and display rtf files. I'm reading the rtf files and displaying the text on reports via Jasper reports.

Underline, bold and italic text is not recognized. the actual text prints, but the style is not included. I can see control characters like /ul and when I print the Abstract document it shows up.




but for some reason it wont display on the output.


a.) Does anyone know how I can get the styles to work?

b.) Is there a better way to go about this?

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic