Page Numbering issue during WORD to PDF Conversion

In my project pdf files are generated using aspose-words-20.4.jar software. Most of the time API: save() working fine without any issues.

SaveOutputParameters com.aspose.words.Document.save(String fileName, int saveFormat) throws Exception

Herewith attached word document it has page numbering issue post conversion of PDF.

1] Originally word document generated with 5 pages of contents along page footer number.
2] Once pdf created (using the attached sample code) contents on page 5 pushed back to page 4. Due to that last page is empty with incorrect footer number.Sample.zip (201.9 KB)

Any help is much appreciated.

@dineshvbe,
We recommend that you please upgrade to the latest version of Aspose.Words for Java API. The page numbering issue does not appear in the latest 22.1 version of Aspose.Words for Java.

However, the content of page 5 is still pushed back to page 4. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET - 23312. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-23312) have been fixed in this Aspose.Words for .NET 22.2 update also available on NuGet.