• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

RTFEditorKit - underline not working

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic