jruser0815 Posted June 14, 2010 Share Posted June 14, 2010 I'm using JasperReports report preview dialog JRViewer in a Swing client. Is there any way to preview the report directly in Excel without prior saving it in a file? Link to comment Share on other sites More sharing options...
lucianc Posted July 1, 2010 Share Posted July 1, 2010 As far as I know, Excel only works with files. So all that you can do is to export the report to a temporary file and launch Excel (see java.awt.Desktop.open() in JDK 1.6) to open it. You'll need to extend the JRViewer class to do that.Regards,Lucian Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now