Page number

I have a big trouble with page number.Here is my doc generated with java/jasperreport
the export code :

AWDocExporter exporter3 = new AWDocExporter();
exporter3.setParameter(AWExporterParameter.LICENSE, path+"/Aspose.Words.JasperReports.lic");
//exporter3.setParameter(AWExporterParameter.PAGE_BREAKS, AWExporterParameter.PAGE_BREAKS_NORMAL);
exporter3.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);exporter3.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, test3);

the footer xml just display $V{PAGE_NUMBER}

The footer page number is correct when opening
BUT if i edit the doc with word and put manually some content it create me two page with the same number! example after " Plan de situation " on page2, if i put some text it create me page2 then page2 again …
Did someone know the issue ??


Hi Cordialy,

Thanks for your inquiry. Please read the following article about ‘Inserting Fields’ from here:

In your case, you need to add the textField
with value “Page { PAGE }” in jrxml. The { PAGE } will be converted to Page field in MS Word document. Please let us know if you have any more queries.