victorgonzaleza Posted May 14, 2012 Share Posted May 14, 2012 Using iReport tools to generate a powerpoint is a problem when trying to open it in windows xp. In windows vista and windows 7 has no problem opening it. Know someone who might be going? I use iReport 4.0.2Thanks for the support.Code:ByteArrayOutputStream pptStream = new ByteArrayOutputStream();JRPptxExporter pptxExporter = new JRPptxExporter();pptxExporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);pptxExporter.setParameter(JRExporterParameter.OUTPUT_STREAM, pptStream);try { pptxExporter.exportReport();} catch (JRException ex) { System.out.println("ERROR : " + ex.getMessage());}pptStreamByteArray = pptStream.toByteArray(); 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