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

Free Support Forum - aspose.com

Word to Html loses NumPages reference

If I have a word document with a reference to the field NumPages this reference gets lost when I convert to a html document.
For example in the word document attached there is a line:
Page [Page] of [NumPages]
where the [] signify fields. When this gets converted to html the [Page] field remains as a field but the [NumPages] gets set as a hardcoded value, as can be seen below.
I would like to keep the NumPages as a field as I will later convert from the html back into Word.


Hi Richard,

Thanks for your inquiry. We have tested the scenario and noticed the reported issue. We have logged a ticket WORDSNET-15372 in our issue tracking system for further investigation and rectification. We will notify you as soon as it is resolved.

We are sorry for the inconvenience.

Best Regards,


The issues you have found earlier (filed as WORDSNET-15372) have been fixed in this Aspose.Words for .NET 17.9 update and this Aspose.Words for Java 17.9 update.