public override void OnStartPage(PdfWriter writer, Document document)
{
base.OnStartPage(writer, document);
if (!shouldSkipHeader(writer, document))
{
_headerFooterManager.AddHeader(writer, document);
}
_backgroundImageTemplate.ReserveBackgroundImageSpace(writer);
}