Package net.sf.jasperreports.engine.export.oasis

Examples of net.sf.jasperreports.engine.export.oasis.JROdsExporter.exportReport()


    exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
    exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, destFile.toString());
    exporter.setParameter(JRXlsExporterParameter.IS_ONE_PAGE_PER_SHEET, Boolean.TRUE);
    exporter.setParameter(JRXlsExporterParameter.IS_FONT_SIZE_FIX_ENABLED, Boolean.TRUE);
   
    exporter.exportReport();

    System.err.println("ODS creation time : " + (System.currentTimeMillis() - start));
  }
 
 
View Full Code Here


        case ODS:
          logger.debug(bundle.getString("exporting-report", "ods"));
            JROdsExporter exporterODS = new JROdsExporter();
            exporterODS.setParameter(JRExporterParameter.JASPER_PRINT, print);
            exporterODS.setParameter(JRExporterParameter.OUTPUT_STREAM, outputStream);
            exporterODS.exportReport();
            break;
        default:
          throw new DemoiselleException(bundle.getString("exception-reportimpl-not-found", type.name()));
      }
    } catch (JRException jre) {
View Full Code Here

        case ODS:
          logger.debug(bundle.getString("exporting-report", "ods"));
            JROdsExporter exporterODS = new JROdsExporter();
            exporterODS.setParameter(JRExporterParameter.JASPER_PRINT, print);
            exporterODS.setParameter(JRExporterParameter.OUTPUT_STREAM, outputStream);
            exporterODS.exportReport();
            break;
        default:
          throw new DemoiselleException(bundle.getString("exception-reportimpl-not-found", type.name()));
      }
    } catch (JRException jre) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.