Jasper Reports

Questions and answers on developing, deploying and using plugins and JavaBeans

Jasper Reports

Postby Mccourt.cordingley1372837951 » Mon Jan 20, 2014 1:30 pm

Hi

Is there any support within the Jasper plugin for use of the following property

IS_COMPRESSED from JRPdfExporterParameter.

Thanks
User avatar
Mccourt.cordingley1372837951
 
Posts: 28
Joined: Wed Jul 03, 2013 9:52 am

Re: Jasper Reports

Postby rgansevles » Wed Jan 22, 2014 11:09 am

Mccourt,

Seems currently not but it can be added easily, please file a request on ServoyForge.

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1927
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL

Re: Jasper Reports

Postby Andrei Costache » Thu Jan 23, 2014 10:18 pm

Mccourt.cordingley1372837951 wrote:Hi

Is there any support within the Jasper plugin for use of the following property

IS_COMPRESSED from JRPdfExporterParameter.

Thanks

Hi,

This feature was added some time ago, i.e. usage of jasper defined report parameters. See this topic (https://www.servoyforge.net/boards/13/t ... essage-608) for an example. You should be able to use the property as in the presented sample. So, something like:
Code: Select all
var params = new Object();
params["EXPORTER_PARAMETER:net.sf.jasperreports.engine.export.JRPdfExporterParameter.IS_COMPRESSED"] = "true";
var r = plugins.jasperPluginRMI.runReport(...,OUTPUT_FORMAT.PDF,params);


Best regards,
Andrei
Andrei Costache
Servoy
User avatar
Andrei Costache
 
Posts: 196
Joined: Mon Sep 07, 2009 11:53 am


Return to Plugins and Beans

Who is online

Users browsing this forum: Google [Bot] and 41 guests

cron