final int processingLevel = flowController.getReportContext().getProcessingLevel();
if (processingLevel == LayoutProcess.LEVEL_PAGINATE &&
report.isVisible() == false)
{
// make it a minimum effort report, but still enter the loop.
final ReportDefinition parentReport = parentState.getReport();
final SubReport dummyReport = new SubReport(functionStorageKey.getReportId());
this.report = new ReportDefinitionImpl(dummyReport, parentReport.getPageDefinition());
this.flowController = parentState.flowController.derive();
this.advanceHandler = EndSubReportHandler.HANDLER;
this.layoutProcess = new SubLayoutProcess
(parentState.layoutProcess, computeStructureFunctions(report.getStructureFunctions(),
flowController.getReportContext().getOutputProcessorMetaData()));