Package org.pentaho.reporting.engine.classic.core

Examples of org.pentaho.reporting.engine.classic.core.TableDataFactory


   * @throws ReportDefinitionException if an error occured preventing the report definition.
   */
  public MasterReport createReport() throws ReportDefinitionException
  {
    final MasterReport report = parseReport();
    report.setDataFactory(new TableDataFactory
        ("default", tableModel));
    return report;
  }
View Full Code Here


  }

  public MasterReport createReport() throws ReportDefinitionException
  {
    final MasterReport report = createStaticReport();
    report.setDataFactory(new TableDataFactory("default", data));
    return report;
  }
View Full Code Here

    setupItemBand(report);
    //// PAGE FOOTER //////////////////////////////////////////////////////////////////////////
    setupPageFooter(report);

    report.getParameterValues().put("RESPONDENT_NAME", "Dave");
    report.setDataFactory(new TableDataFactory
        ("default", data));
    return report;
  }
View Full Code Here

      // Create a JFreeReport from the XML file
      MasterReport report = parseReport(reportDefinition);

      // Create the data for the report
      DynamicallyShowColumnsReportData reportData = new DynamicallyShowColumnsReportData();
      TableDataFactory tableDataFactory = new TableDataFactory("default", reportData);//$NON-NLS-1$
      report.setDataFactory(tableDataFactory);
      report.getParameterValues().put("SQLC1_name","IN STOCK");//$NON-NLS-1$ //$NON-NLS-2$
      report.getParameterValues().put("SQLC2_name", "COST");//$NON-NLS-1$ //$NON-NLS-2$
      report.getParameterValues().put("SQLC3_name", "MSRP");//$NON-NLS-1$ //$NON-NLS-2$
      report.getParameterValues().put("ShowCol", "Show_Column3");//$NON-NLS-1$ //$NON-NLS-2$
View Full Code Here

      // Create a JFreeReport from the XML file
      MasterReport report = parseReport(reportDefinition);

      // Create the data for the report
     DynamicallyShowColumnsReportData reportData = new DynamicallyShowColumnsReportData();
      TableDataFactory tableDataFactory = new TableDataFactory("default", reportData);//$NON-NLS-1$
      report.setDataFactory(tableDataFactory);
     report.getParameterValues().put("SQLC1_name","IN STOCK");//$NON-NLS-1$ //$NON-NLS-2$
     report.getParameterValues().put("SQLC2_name", "COST");//$NON-NLS-1$ //$NON-NLS-2$
     report.getParameterValues().put("SQLC3_name", "MSRP");//$NON-NLS-1$ //$NON-NLS-2$
     report.getParameterValues().put("ShowCol", "Show_Column3");//$NON-NLS-1$ //$NON-NLS-2$
View Full Code Here

  {
    final URL in = ObjectUtilities.getResource
        ("org/pentaho/reporting/engine/classic/demo/opensource/opensource.xml", StraightToPNG.class);
    final MasterReport report = parseReport(in);
    final TableModel data = new OpenSourceProjects();
    report.setDataFactory(new TableDataFactory
        ("default", data));
    final long startTime = System.currentTimeMillis();
    savePNG(report, filename);
  }
View Full Code Here


  public MasterReport createReport() throws ReportDefinitionException
  {
    MasterReport report = parseReport();
    report.setDataFactory(new TableDataFactory
        ("default", data));
    return report;
  }
View Full Code Here

  {
    final URL in = ObjectUtilities.getResource
        ("org/pentaho/reporting/engine/classic/demo/opensource/opensource.xml", StraightToPDF.class);
    final MasterReport report = parseReport(in);
    final TableModel data = new OpenSourceProjects();
    report.setDataFactory(new TableDataFactory("default", data));
    final long startTime = System.currentTimeMillis();
    savePDF(report, filename);
  }
View Full Code Here

  }

  public MasterReport createReport() throws ReportDefinitionException
  {
    final MasterReport report = parseReport();
    report.setDataFactory(new TableDataFactory
        ("default", data));
    return report;
  }
View Full Code Here

  {
    final URL in = ObjectUtilities.getResource
        ("org/pentaho/reporting/engine/classic/demo/opensource/opensource.xml", StraightToPlainText.class);
    final MasterReport report = parseReport(in);
    final TableModel data = new OpenSourceProjects();
    report.setDataFactory(new TableDataFactory
        ("default", data));
    savePlainText(report, filename);
  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.TableDataFactory

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.