Hi, we are using Aspose.Words for .NET 220.127.116.11 for converting DOCX to HTML. When the DOCX has different first page header, the converted html is missing the first page header. We have tried all the ‘non-None’ options of ExportHeadersFootersMode. Please help with resolving this issue. Thanks
HtmlSaveOptions opts = new HtmlSaveOptions(SaveFormat.Html);<o:p></o:p>
opts.ExportHeadersFootersMode = ExportHeadersFootersMode.FirstPageHeaderFooterPerSection;<o:p></o:p>
doc.Save(MyDir + @“15.10.0.html”, opts);<o:p></o:p>
Thanks for the response. I appreciate the explanation. I have attached a sample.
:We are using FirstSectionHeader… option. We see the effect (as you described) in the our online html editor component. We however are running in to an error when converting back to docx when user downloads. Should I open a different post for that?
- Your input Word document
- Aspose.Words generated output HTML and the code used for this conversion
- Aspose.Words generated Word document and the code used for this HTML to Word conversion
- Your expected final Word document which shows the correct output. Please create this document using Microsoft Word application.
- Please create screenshot(s) which help us identify the problematic areas during Word-HTML-Word round-trip