Changes for the pdf report header and footer by terry hill to solve the overlapping with form name issue.

Signed-off-by: Arnab Naha <superarnab@gmail.com>