I would like to hide headers and footers from a document template, not remove them, simply hide them. I think the following should work:
On download to user
doc.ViewOptions.ViewType = ViewType.Web;
On upload to server after user makes changes to body text
doc2.ViewOptions.ViewType = ViewType.PageLayout;
Is there a better way to accomplish this?