Jump to content
Changes to the Jaspersoft community edition download ×

JRHtmlExporter....


Recommended Posts

By: Adriana Mestrinelli Paranhos - jasperdri

JRHtmlExporter....

2003-04-16 10:06

Hello everyone...

 

in the webapp sample from Jasper, I got these lines in a report generated by a JSP page...

 

exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);

exporter.setParameter(JRExporterParameter.OUTPUT_STRING_BUFFER, sbuffer);

exporter.setParameter(JRHtmlExporterParameter.IMAGES_MAP, imagesMap);

exporter.setParameter(JRHtmlExporterParameter.IMAGES_URI, "image.jsp?image=");

 

what do they do in the report??

 

thanx a lot.

 

 

 

 

 

By: Andrew - affriedl

RE: JRHtmlExporter....

2003-05-21 09:10

Jasper uses a properties collection to pass multiple parameters to report viewers. It uses this mechanism so that various exporters (ie. XLS, CSV, HTML, PDF) can be configured with different parameters of varying types and names without knowing a specific JAVA API for each type of export format.

 

Items falling under the JRExporter.xxxx parameter type are generic parameters that most reports can/will use. JRHtmlExporter.xxxx parameters are those that are specific to HTML output.

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...