Package net.sf.jasperreports.engine.export

Examples of net.sf.jasperreports.engine.export.JRTextExporter


          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);
          exporterTXT.setParameter(JRTextExporterParameter.OUTPUT_STREAM, outputStream);
          exporterTXT.setParameter(JRTextExporterParameter.CHARACTER_WIDTH, new Float(30));
          exporterTXT.setParameter(JRTextExporterParameter.CHARACTER_HEIGHT, new Float(30));
          exporterTXT.exportReport();
          break;
        case RTF:
          logger.debug(bundle.getString("exporting-report", "rtf"));
          JRRtfExporter exporterRTF = new JRRtfExporter();
          exporterRTF.setParameter(JRExporterParameter.JASPER_PRINT, print);
View Full Code Here


          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);
          exporterTXT.setParameter(JRTextExporterParameter.OUTPUT_STREAM, outputStream);
          exporterTXT.setParameter(JRTextExporterParameter.CHARACTER_WIDTH, new Float(30));
          exporterTXT.setParameter(JRTextExporterParameter.CHARACTER_HEIGHT, new Float(30));
          exporterTXT.exportReport();
          break;
        case RTF:
          logger.debug(bundle.getString("exporting-report", "rtf"));
          JRRtfExporter exporterRTF = new JRRtfExporter();
          exporterRTF.setParameter(JRExporterParameter.JASPER_PRINT, print);
View Full Code Here

TOP

Related Classes of net.sf.jasperreports.engine.export.JRTextExporter

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.