protected void processRootBand(final StrictBounds pageBounds)
{
if (subType == SectionSubType.WATERMARK)
{
final WatermarkAreaBox box = getRootBox().getWatermarkArea();
setDrawArea(new StrictBounds(box.getX(), box.getY(), box.getWidth(), box.getHeight()));
getGraphics().clip(createClipRect(getDrawArea()));
startProcessing(box);
}
else if (subType == SectionSubType.HEADER)
{
final BlockRenderBox box = getRootBox().getHeaderArea();
setDrawArea(new StrictBounds(box.getX(), box.getY(), box.getWidth(), box.getHeight()));
getGraphics().clip(createClipRect(getDrawArea()));
startProcessing(box);
}
else if (subType == SectionSubType.FOOTER)
{
final BlockRenderBox box = getRootBox().getFooterArea();
setDrawArea(new StrictBounds(box.getX(), box.getY(), box.getWidth(), box.getHeight()));
getGraphics().clip(createClipRect(getDrawArea()));
startProcessing(box);
}
else
{
final RenderBox box = getRootBox();
setDrawArea(new StrictBounds(box.getX(), box.getY(), box.getWidth(), box.getHeight()));
getGraphics().clip(createClipRect(getDrawArea()));
processBoxChilds(getRootBox());
}
}