}
// the reporting finally came to an end. Lets process the content.
// Recover the page-grid, then restart everything from scratch.
// (We have to recompute, as the pages may be different now, due to changed margins or page definitions)
final long nextOffset = pageBox.computePageEnd();
pageBox.setPageEnd(nextOffset);
final long pageOffset = pageBox.getPageOffset();
applyAutoCommitPageHeaderStep.commitAll(pageBox);
if (outputProcessor.isNeedAlignedPage())