Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Use of JasperReports for RTf format with Spring framework -Not working  RSS feed

Lucky J Verma
Ranch Hand
Posts: 278
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I have reports for which i am using Jasper Reports and iReports with Spring Framework.Most of the reports are pdf/xls and wrking fine but one is required to be in RTf format.
Now i have file where i map the view class.

For RTf i know we dont have any view class as such but either
1. JRTFExporter can be used by first converting report to pdf then to rtf.
2.Or i can use JasperReportsMultiFormatView and customize it to work for RTF and use that customized view class iin
This is what i am trying to do .
I wrote a customjasperreportmmultiformat class and pointed my view to this view class in and i am able to reach inside this class but one thing or another is not working.

mode code is

With this code , it streams my .do file on to output stream ,even if i replace it to pdf format (instead of RTF format.).
I googled a lot but dint find much content.
I hope someone can help me here in this forum.

Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!