Jump to content
JasperReports Library 7.0 is now available ×

Recommended Posts

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

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...