exporterODT.setParameter(JRExporterParameter.OUTPUT_STREAM, outputStream);
exporterODT.exportReport();
break;
case PDF:
logger.debug(bundle.getString("exporting-report", "pdf"));
JRPdfExporter exporterPDF = new JRPdfExporter();
exporterPDF.setParameter(JRPdfExporterParameter.JASPER_PRINT, print);
exporterPDF.setParameter(JRPdfExporterParameter.OUTPUT_STREAM, outputStream);
exporterPDF.setParameter(JRPdfExporterParameter.IS_CREATING_BATCH_MODE_BOOKMARKS, Boolean.TRUE);
exporterPDF.setParameter(JRPdfExporterParameter.IGNORE_PAGE_MARGINS, Boolean.TRUE);
exporterPDF.exportReport();
break;
case TXT:
logger.debug(bundle.getString("exporting-report", "txt"));
JRTextExporter exporterTXT = new JRTextExporter();
exporterTXT.setParameter(JRTextExporterParameter.JASPER_PRINT, print);