{
final LocalFontRegistry localFontRegistry = new LocalFontRegistry();
localFontRegistry.initialize();
final InterceptingXmlPageOutputProcessor outputProcessor = new InterceptingXmlPageOutputProcessor
(new NullOutputStream(), new XmlPageOutputProcessorMetaData(localFontRegistry));
outputProcessor.setFlowSelector(new StrictMultiPageFlowSelector(false, maxPage, page));
final PageableReportProcessor proc = new PageableReportProcessor(report, outputProcessor);
proc.processReport();
List<LogicalPageBox> pages = outputProcessor.getPages();