Huge mail merge problem

Hi,

We have a very important issue to submit.

Take a look at the attachments (template, source file CSV and java code, and result), the mail merge isn’t correct. Take a look at the result.doc (and template), you’ll see that aspose dont go to next word page for the other results (there are 3 lines in the CSV, so we should have 3 pages)

This is very very important, i’ll appreciated a quick solution

Regards,
Julien

Hi Julien,

Thanks for your inquiry. Please do the following steps to fix your template document.

  1. Open “avis_echance.doc” with Microsoft Word
  2. Open “Page Setup” dialog-box by going to “Page Setup” tab
  3. Navigate to “Layout” tab
  4. Change the “Section start” option from “Continuous” to “New page”.
  5. Click “OK” and re-save the document.

Also, please refer to the following article which explains the above procedure.
https://docs.aspose.com/words/java/mail-merge-and-reporting/

Best regards,

Thanks for your answer.

Isn’t possible that aspose deal himself this problem ? Because this is the only document with this problem.

Regards,
Julien

Hi Julien,

Thanks for your feedback. The current behaviour of Aspose.Words is correct i.e Aspose.Words allows you to control page breaks in output document. So, it depends on your template document settings. Moreover, before performing mail merge, you could also change this setting using PageSetup.SectionStart property in Aspose.Words. If we can help you with anything else, please feel free to ask.

Best regards,