Header and and footer is missing in web layout mode

I have a word template which have header and footer in each page. If I open the template in web layout mode in Microsoft word it is not visible. Same template I have tried to convert to html using aspose. The header and footer is missing for each page. How to retain the header and footer?

@athulcp3 The question is already answered here:
https://forum.aspose.com/t/image-and-page-number-is-missing-in-header-and-footer-for-pages/285596/3

header and footer is not coming for the first page also after setting the options. Is in’t it aspose using web layout mode while converting to html. If I open the doc file in word i am able to see the header and footer, but when i change the mode to web layout it is missing.

@athulcp3 In most cases Aspose.Words mimics MS Word behavior when work with HTML documents. Aspose.Words is designed to work with MS Word documents. HTML documents and MS Word documents object models are quite different and it is not always possible to provide 100% fidelity after conversion one format to another.