HtmlSaveOptions.exportHeadersFootersMode property. Specifies how headers and footers are output to HTML, MHTML or EPUB...saving a document to HTML. let doc = new aw . Document ( base ...footer types.docx" ); // This document contains headers and footers...