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

Examples of org.pentaho.reporting.engine.classic.core.SubReport.derive()


    subReport.addExpression(function);

    MasterReport report = new MasterReport();
    report.setDataFactory(new TableDataFactory(report.getQuery(), new DefaultTableModel(2,2)));
    final RelationalGroup rootGroup = (RelationalGroup) report.getRootGroup();
    rootGroup.getHeader().addSubReport((SubReport) subReport.derive());
    report.getItemBand().addSubReport((SubReport) subReport.derive());

    DebugReportRunner.execGraphics2D(report);

  }
View Full Code Here


    MasterReport report = new MasterReport();
    report.setDataFactory(new TableDataFactory(report.getQuery(), new DefaultTableModel(2,2)));
    final RelationalGroup rootGroup = (RelationalGroup) report.getRootGroup();
    rootGroup.getHeader().addSubReport((SubReport) subReport.derive());
    report.getItemBand().addSubReport((SubReport) subReport.derive());

    DebugReportRunner.execGraphics2D(report);

  }
}
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.