wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes RTFEditorKit - underline not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "RTFEditorKit - underline not working" Watch "RTFEditorKit - underline not working" New topic
Author

RTFEditorKit - underline not working

chris gar
Ranch Hand

Joined: Jul 20, 2002
Posts: 45
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RTFEditorKit - underline not working
 
Similar Threads
Implementing function in new dialog
File Convertion
Reading RTF File in Java
parsing .rtf file to a string
Problem using RTFEditorKit