Hi,
When saving enclosed document as HTML or PDF the header height is not rendered correctly.
Aspose.Words Version: 22.2.0
Document lDocument = new Document( lFilePath );
lDocument.updateFields();
lDocument.updatePageLayout();
HtmlFixedSaveOptions lOptions = new HtmlFixedSaveOptions();
lDocument.updateFields();
lDocument.save( lSavePath, lOptions );
asposetest_word_html.png (109.3 KB)
AsposeTest_Word_Save.docx (272.7 KB)
AsposeTest_Word_Save.pdf (304.3 KB)
@inceptionEhv I have reproduced and logged the issue as WORDSNET-23984. We will keep you informed and let you know once it has been resolved.
@inceptionEhv, our developers have not found any issues with Pdf or HtmlFixed output. Perhaps the illusion of the header incorrect height appears due to the license restriction entry. You can save the original docx in MS Word to Pdf and make sure that MS Word output is similar to that of Aspose.Word. Please accept our apologies for the long response.
The issues you have found earlier (filed as WORDSNET-23984) have been fixed in this Aspose.Words for Java 23.1 update.