• 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.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!