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

Free Support Forum - aspose.com

Convert Word DOC to HTML FIXED Format using Java API & Preserve Number of Pages - RDM92938

words source code:
src.zip (4.8 KB)

origin doc:
关于印发《中国铁建电气化局集团北方工程有限公司建设项目档案管理办法》的通知.doc.zip (30.0 KB)

converted problem:
附件转换1.png (55.0 KB)

The origin doc is 32 pages,but it was 34 pages after converted.Please have a check.


Please also ZIP and attach Aspose.Words generated output document(s) and the following font file here for further testing:

  • 小标宋

Please also convert your DOC document to PDF format by using MS Word (Save As to PDF) on your end and attach the MS Word generated PDF file here for further testing.

小标宋.TTF.zip (1.7 MB)

Thank you for ur further testing.


MS Word 2019 on our end reports that there are actually 33 pages in your DOC file and when converting it to HTML_FIXED, Aspose.Words for Java 20.3 produces 32 pages. For the sake of any correction, we have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-20129. We will further look into the details of this problem and will keep you updated on the status of linked issue. We apologize for your inconvenience.


Please also convert your input DOC Word document to PDF and XPS formats by using Save As command of MS Word on your end, ZIP and attach the PDF & XPS files here for further testing.

Also, use latest version of Aspose.Words on your end and convert input DOC Word document to PDF and XPS formats and share these files as well.

Thanks for your cooperation.