Jump to content
Changes to the Jaspersoft community edition download ×

JRPdfExporterParameter is deprecated


Recommended Posts

Hello All,

I am using the below code to generate a PDF using JRPdfExporter:

JRPdfExporter exporter = new JRPdfExporter();

            exporter.setParameter(JRPdfExporterParameter.FORCE_LINEBREAK_POLICY, Boolean.TRUE);

            exporter.setParameter(JRPdfExporterParameter.OUTPUT_STREAM, fileOutputStream);

            exporter.setParameter(JRPdfExporterParameter.JASPER_PRINT_LIST, reportsList);


I am able generate the but I am seeing a warning like JRPdfExporterParameter is deprecated.

Is there any alternative to use JRPdfExporterParameter.

Thanks in advance,

Sarath Thota



Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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