Fix static headers and footers.
Fix static headers and footers.

This slipped in via a merge conflict :-(
Fixes #227

wbswbs/pdfmake,pfarnach/pdfmake,mdoelker/pdfmake,naoa/pdfmake,jiusanzhou/pdfmake,ILUMY/pdfmake,dennisrjohn/pdfmake,pfarnach/pdfmake,TW-QEN/pdfmake,naoa/pdfmake,jodeng110/udpcloud-pdfmake,TW-QEN/pdfmake,mubassirhayat/pdfmake,mubassirhayat/pdfmake,compact/pdfmake,compact/pdfmake,jodeng110/udpcloud-pdfmake,ILUMY/pdfmake,bavellone/pdfmake,tanem/pdfmake,dennisrjohn/pdfmake,jiusanzhou/pdfmake,Intia/pdfmake,Novlr/pdfmake,Intia/pdfmake,tanem/pdfmake,mweslander/pdfmake,mdoelker/pdfmake,wbswbs/pdfmake,Novlr/pdfmake,bavellone/pdfmake,mweslander/pdfmake,atsuyim/pdfmake,Nishi-Inc/pdfmake,atsuyim/pdfmake,Nishi-Inc/pdfmake