This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to configure JRViewer with no posibility to save (Jasper)report to other formats(xml,pdf,csv..)?

 
Gary Dux
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends,

i mentioned my topic in header allready. Knows somebody a hint for my problem?

How can i disable some file-formats by saving a report.(see screenshot please)

Thanks for any answer.



screenshot.21.jpeg
[Thumbnail for screenshot.21.jpeg]
JasperScreenshot-Saving
 
Gary Dux
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
...i solved the Problem. I use the Version 1.0.1 of JasperReport and they can not set the filefilter at setter way. But if you extend the JRViewer in the same package you can override btnSaveActionPerformed() and that was what i did. In version 3.5.0 you can just configure it by setting the JRSaveContributor's calling the method setSaveContributors(JRSaveContributor[] saveContributors.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic