Jump to content
We've recently updated our Privacy Statement, available here ×

Remove "images" from HTML report


pedroinesc

Recommended Posts

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 month later...

For removing images you must set FALSE to exporter parameters IS_USING_IMAGES_TO_ALIGN

cut the code:
--- start cut
JRExporter exporter = null;
...
if (reportFormat.equals(ReportFormat.HTML)) {
  exporter = new JRHtmlExporter();
  ...
  exporter.setParameter(JRHtmlExporterParameter.IS_USING_IMAGES_TO_ALIGN, false);
}
...
exporter.exportReport();
-- end cut

Sorry for bad english :)
 

Link to comment
Share on other sites

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