Edit the header and footer of the document.