Page Numbering Issue

Hi,

I took the latest aspose version and have an issue in displaying page number of first section when opening the saved word document. It shows wrong page number. The document consists of totally 6 pages and while opening the page 1 of 3 is displayed in first section.

I am using builder.insertField(“NUMPAGES”,””) to write page number.

Could you please help me to resolve this problem.

Thanks.

Hi Suganya,

Thanks for your inquiry. It would be great if you please share following detail for investigation purposes.


  • Please attach your input Word document.
  • Please

    create a standalone/runnable simple Java application that demonstrates the code (Aspose.Words code) you used to generate
    your output document

  • Please attach the output Word file that shows the undesired behavior.

Unfortunately,
it is difficult to say what the problem is without the Document(s) and
simplified application. We need your Document(s) and simple project to
reproduce the problem. As soon as you get these pieces of information to
us we’ll start our investigation into your issue.