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

Examples of org.pentaho.reporting.engine.classic.core.designtime.DesignTimeDataSchemaModel


  private MasterReport createReport(final TableModel tableModel)
  {
    final MasterReport report = new MasterReport();
    report.setDataFactory(new TableDataFactory("query", tableModel));
    report.setQuery("query");
    final DesignTimeDataSchemaModel dataSchemaModel = new DesignTimeDataSchemaModel(report);

    final CrosstabBuilder builder = new CrosstabBuilder(dataSchemaModel);
    builder.addRowDimension("Row-Dimension-A");
    builder.addRowDimension(ROW_DIMENSION_B);
    builder.addColumnDimension(COLUMN_DIMENSION_A);
View Full Code Here


    final MasterReport report = new MasterReport();
    report.setPageDefinition(new SimplePageDefinition(new PageSize(800, 300)));
    report.setDataFactory(new TableDataFactory("query", tableModel));
    report.setQuery("query");

    final DesignTimeDataSchemaModel dataSchemaModel = new DesignTimeDataSchemaModel(report);
    final RelationalReportBuilder builder = new RelationalReportBuilder(dataSchemaModel);
    builder.addGroup(ROW_DIMENSION_A);
    builder.addGroup(ROW_DIMENSION_B);
    builder.addDetails(VALUE, aggFun, VALUE_BACKGROUND);
    builder.addDetails("row-a-sum", null, ROWA_BACKGROUND);
View Full Code Here

  private MasterReport createReport(final TableModel tableModel)
  {
    final MasterReport report = new MasterReport();
    report.setDataFactory(new TableDataFactory("query", tableModel));
    report.setQuery("query");
    final DesignTimeDataSchemaModel dataSchemaModel = new DesignTimeDataSchemaModel(report);

    final CrosstabBuilder builder = new CrosstabBuilder(dataSchemaModel);
    builder.addRowDimension("Row-Dimension-A");
    builder.addRowDimension(ROW_DIMENSION_B);
    builder.addColumnDimension(COLUMN_DIMENSION_A);
View Full Code Here

  private MasterReport createReport(final TableModel tableModel)
  {
    final MasterReport report = new MasterReport();
    report.setDataFactory(new TableDataFactory("query", tableModel));
    report.setQuery("query");
    final DesignTimeDataSchemaModel dataSchemaModel = new DesignTimeDataSchemaModel(report);

    final CrosstabBuilder builder = new CrosstabBuilder(dataSchemaModel);
    builder.addRowDimension("Row-Dimension-A");
    builder.addRowDimension(ROW_DIMENSION_B);
    builder.addColumnDimension(COLUMN_DIMENSION_A);
View Full Code Here

  private MasterReport createReport(final TableModel tableModel)
  {
    final MasterReport report = new MasterReport();
    report.setDataFactory(new TableDataFactory("query", tableModel));
    report.setQuery("query");
    final DesignTimeDataSchemaModel dataSchemaModel = new DesignTimeDataSchemaModel(report);

    final CrosstabBuilder builder = new CrosstabBuilder(dataSchemaModel);
    builder.addRowDimension("Row-Dimension-A");
    builder.addRowDimension(ROW_DIMENSION_B);
    builder.addColumnDimension(COLUMN_DIMENSION_A);
View Full Code Here

  private MasterReport createReport(final TableModel tableModel)
  {
    final MasterReport report = new MasterReport();
    report.setDataFactory(new TableDataFactory("query", tableModel));
    report.setQuery("query");
    final DesignTimeDataSchemaModel dataSchemaModel = new DesignTimeDataSchemaModel(report);

    final CrosstabBuilder builder = new CrosstabBuilder(dataSchemaModel);
    builder.addRowDimension("Row-Dimension-A");
    builder.addRowDimension(ROW_DIMENSION_B);
    builder.addColumnDimension(COLUMN_DIMENSION_A);
View Full Code Here

  }

  @Test
  public void testSortOrderCalculationRelational() throws ReportProcessingException
  {
    DesignTimeDataSchemaModel model = new DesignTimeDataSchemaModel(new MasterReport());
    RelationalReportBuilder builder = new RelationalReportBuilder(model);
    builder.addGroup("Group-A");
    builder.addGroup("Group-B");
    builder.addGroup("Group-C");
View Full Code Here

  }

  @Test
  public void testSortOrderCalculationCrosstab() throws ReportProcessingException
  {
    ContextAwareDataSchemaModel model = new DesignTimeDataSchemaModel(new MasterReport());
    CrosstabBuilder builder = new CrosstabBuilder(model);
    builder.addDetails("Details", null);
    builder.addRowDimension("Row-A");
    builder.addRowDimension("Row-B");
    builder.addOtherDimension("Other-A");
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.designtime.DesignTimeDataSchemaModel

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.