We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Convert doc file to html having large header section

Hi there,

We are facing a peculiar problem. When we are converting a document having a big header approx half a size of page then while converting it to docx or html then content of header is missing or the header and body content coincides.

Original word document:
1.JPG (124.4 KB)

After conversion to html using aspose.word:
2.JPG (67.7 KB)

We are using htmlFixedSaveOptions while saving it to html:

htmlFixedSaveOptions.setExportEmbeddedImages(true);
htmlFixedSaveOptions.setExportEmbeddedCss(true);
htmlFixedSaveOptions.setExportEmbeddedFonts(true);
htmlFixedSaveOptions.setPrettyFormat(true);

Any help is highly appreciated.

Thanks

Aayush

@aayushag85,

Please ZIP and attach your input Word document and Aspose.Words generated output HTML file showing the undesired behavior here for testing. We will investigate the issue on our end and will provide you more information.