Free Support Forum -

Convert a docx file into 7 html pages each representing a header, footer and body

I need to allow user to update all components of a docx file from my web application.

I am thinking to convert each section i.e., header1, header2, header3, body, footer1, footer2, footer3 to separate docx files by copying content of each and placing it in a body section and create separate docx files. After that i will convert each docx to html.

Is it possible to copy header/footer contents to body using Aspose word? If yes then how?


Thanks for your inquiry. You can extract contents between nodes in the document and save to HTML. Please check following documentation for details for details. Hopefully it will help you to accomplish the task.

How to extract selected contents between nodes in a document
Converting a Document to HTML