2006 IR Open Dicussion Posted August 26, 2006 Share Posted August 26, 2006 By: hares - desmond_richard Parser  2006-01-12 07:01 Hello,ÂÂCan we use another parser that JDom ?ÂÂThx By: Sanjeev - point1by0 RE: Parser  2006-01-12 07:11 Hi,ÂÂYou could use JRHtmlExporter as:ÂÂJRExporter exporter = new JRHtmlExporter();ÂByteArrayOutputStream baos = new ByteArrayOutputStream();Âbyte[] bytes = null;ÂÂ// Set the Jasper print obj. to exportÂexporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);Â// Set the output stream to export toÂexporter.setParameter(JRExporterParameter.OUTPUT_STREAM, baos);Â// Set additional parameters if requiredÂÂexporter.exportReport();Âbytes = baos.toByteArray();ÂÂHope this helps,Â-Sanjeev By: Sanjeev - point1by0 RE: Parser  2006-01-12 07:22 Oops, wrong post. My apologies.ÂÂ-Sanjeev 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