Header/Footer height not properly accounted for in certain circumstances


If you have a header (SectionReportHeader) and/or a footer (SectionReportFooter) in your template, AND you do NOT have a ReportProperties section in the template, header and footer heights are not properly accounted for.
In my case, I had both a header and a footer, but set the ReportProperties info programmatically and hence didn't have a ReportProperties section in the template. This bug resulted in the footer vanishing off the bottom of the page. It was there--searching the report would find it--but it couldn't be seen because it was created outside the page's dimensions.
See the attached file for a fix.

file attachments