Created
November 7, 2010 19:10
-
-
Save andrerocker/666331 to your computer and use it in GitHub Desktop.
Varios JasperPrint em um unico PDF de saida.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void exportReportToPdfStream(List<JasperPrint> prints, OutputStream output) throws JRException | |
{ | |
JRPdfExporter exporter = new JRPdfExporter(); | |
exporter.setParameter(JRExporterParameter.JASPER_PRINT_LIST, prints); | |
exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, output); | |
exporter.exportReport(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment