FO/PDF output: expand header/footer to fit.  Basic initial working implementation, some fixes.