• 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
JasperScreenshot-Saving
[Thumbnail for screenshot.21.jpeg]
 
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