Support HTML headers and footers in separate files

Hi,

was there any update on this? We are depending highly on the mso-footer/header functionality atm in our document generation, and doing this programmaticaly (using document builder) is not the best approach for us.

Is there any other way to do this currently or are there any plans to add this functionality?
Please note that we (our Clients) often use several headers and footers sets throughout the document so we can’t have only one main header&footer setup.

Thanks
Aga

@acturisaspose,

Unfortunately, your question isn’t clear enough therefore we request you to please elaborate your inquiry further by mentioning the complete details of your use-case/scenario. This will help us to understand your scenario, and we will be in a better position to address your concerns accordingly. You may also ZIP and attach (upload) sample documents and code for our reference.

HF example.zip (2.6 KB)

Hi,
attached is an example: xslt template with some sample content + example xml file which we usually use for storing headers and footer.

I have included several different types of headers/footers - with tables, images or bookmarks (we sometimes use this to get the content from different source document.

Please let me know if you have any queries to the attached.

Thanks
Aga

@acturisaspose,

Can you please provide complete details of your usecase? Why do you want to extract headers/footers from Word document and store those headers/footers in separate files? For example, when you convert a DOCX (Word document with headers/footers) to DOC, RTF or any other format, Aspose.Words preserves those headers/footers in output documents. How would you like your requirement be implemented in Aspose.Words?

sorry the messege was removed from the previous context and it is not obvious but we don’t want to remove anything from word document.
What we do is to use XSLT to generate our documents in html and then to convert html to word - this is why we have headers and footers stored separately.

@acturisaspose,

We will add an option to support HTML headers and footers in separate files like MS Word does. This will help to preserve headers and footers during Word to HTML to Word round-trip. Your thread has also been linked to the appropriate issue (WORDSNET-16110) and you will be notified as soon as this feature is available. Sorry for the inconvenience.