assertNotNull(url);
final ResourceManager resourceManager = new ResourceManager();
resourceManager.registerDefaults();
final Resource directly = resourceManager.createDirectly(url, MasterReport.class);
final MasterReport report = (MasterReport) directly.getResource();
final ReportElement crosstab = report.getChildElementByType(CrosstabGroupType.INSTANCE);
crosstab.setAttribute(AttributeNames.Core.NAMESPACE, AttributeNames.Crosstab.DETAIL_MODE, CrosstabDetailMode.first);
// Test whether the final page has out-of-bounds boxes. The FillPhysicalPages step should have removed them
final PrintReportProcessor rp = new PrintReportProcessor(report);
for (int page = 0; page < rp.getNumberOfPages(); page += 1)
{