this.handleInterruptedState = true;
this.outputProcessor = outputProcessor;
this.paranoidChecks = "true".equals(outputProcessor.getMetaData().getConfiguration().getConfigProperty
("org.pentaho.reporting.engine.classic.core.layout.ParanoidChecks"));
this.pagebreaksSupported = outputProcessor.getMetaData().isFeatureSupported(OutputProcessorFeature.PAGEBREAKS);
final Configuration configuration = report.getReportConfiguration();
final String yieldRateText = configuration.getConfigProperty("org.pentaho.reporting.engine.classic.core.YieldRate");
final int yieldRate = StringUtil.parseInt(yieldRateText, 0);
if (yieldRate > 0)
{
addReportProgressListener(new YieldReportListener(yieldRate));
}
final String profile = configuration.getConfigProperty
("org.pentaho.reporting.engine.classic.core.ProfileReportProcessing");
if ("true".equals(profile))
{
final boolean logLevelProgress = "true".equals
(configuration.getConfigProperty("org.pentaho.reporting.engine.classic.core.performance.LogLevelProgress"));
final boolean logPageProgress = "true".equals
(configuration.getConfigProperty("org.pentaho.reporting.engine.classic.core.performance.LogPageProgress"));
final boolean logRowProgress = "true".equals
(configuration.getConfigProperty("org.pentaho.reporting.engine.classic.core.performance.LogRowProgress"));
addReportProgressListener(new PerformanceProgressLogger(logLevelProgress, logPageProgress, logRowProgress));
}
}