final LayoutProcess layoutProcess = getLayoutProcess();
final OutputProcessor outputProcessor = layoutProcess.getOutputProcessor();
outputProcessor.processDocumentMetaData(layoutProcess.getDocumentContext());
this.pageContext = new RenderPageContext(layoutProcess, pageContext);
// create the initial pagegrid.
final PageGrid pageGrid =
this.pageContext.createPageGrid(this.layoutProcess.getOutputMetaData());
// initialize the logical page. The logical page needs the page grid,