Package net.sf.jasperreports.engine.design

Examples of net.sf.jasperreports.engine.design.JRReportCompileData


    {
      String tableReportXml = JRXmlWriter.writeReport(tableReport, "UTF-8");
      log.debug("Generated table report:\n" + tableReportXml);
    }
   
    JRReportCompileData tableReportCompileData = createTableReportCompileData(
        parentReport, reportSubdataset);
   
    JasperReport compiledTableReport = new JasperReport(tableReport,
        parentReport.getCompilerClass(),
        tableReportCompileData,
View Full Code Here


    {
      throw new JRRuntimeException("Unsupported compiled report data of type "
          + reportCompileDataObj.getClass().getName());
    }
   
    JRReportCompileData reportCompileData = (JRReportCompileData) reportCompileDataObj;
    Serializable datasetCompileData = reportCompileData.getDatasetCompileData(
        reportSubdataset);
   
    JRReportCompileData tableReportCompileData = new TableReportCompileData(
        parentReport);
    tableReportCompileData.setMainDatasetCompileData(datasetCompileData);
   
    JRDataset[] datasets = parentReport.getDatasets();
    if (datasets != null)
    {
      for (JRDataset dataset : datasets)
      {
        Serializable compileData = reportCompileData.getDatasetCompileData(dataset);
        tableReportCompileData.setDatasetCompileData(dataset, compileData);
      }
    }
    return tableReportCompileData;
  }
View Full Code Here

TOP

Related Classes of net.sf.jasperreports.engine.design.JRReportCompileData

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.