Package net.sf.jasperreports.engine.export

Examples of net.sf.jasperreports.engine.export.JRPdfExporter$LocalFontMapper


          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);
View Full Code Here


            case "CSV":
                exporter = new JRCsvExporter();
                log.info("Starting CSV report generation.");
                break;
            case "PDF":
                exporter = new JRPdfExporter();
                log.info("Starting PDF report generation.");
                break;
            default:
                exporter = new JRHtmlExporter();
                log.info("Starting HTML report generation.");
View Full Code Here

          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);
View Full Code Here

TOP

Related Classes of net.sf.jasperreports.engine.export.JRPdfExporter$LocalFontMapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.