Error in Word Page numbering

My client has generated a Word doc with 11 pages and used the Page X of Y field in the document header. The document correctly shows 1 of 11, 2 of 11 …11 of 11
However after conversion to PDF the resulting document shows 1 of 7, 2 of 7, … 7 of 8, 8 of 9 etc.

We have verified that this happens with Aspose v19.1

Can you look at the attached files and see what might be wrong

johnIAT-2.68_Viewer_P.zip (3.9 MB)

@john.gleeson,

After an initial test with the licensed latest version of Aspose.Words for .NET i.e. 19.4, we were unable to reproduce this issue on our end. We would suggest you please upgrade to the latest version of Aspose.Words for .NET. Hope, this helps.

Please see output document (19.4.pdf (1.4 MB)) that we produced on our end by using the following code:

Document doc = new Document("E:\\IAT-2.68_Viewer_P\\IAT-2.68_Viewer.docx");
doc.Save("E:\\IAT-2.68_Viewer_P\\19.4.pdf");

Thank you. That does fix the problem