Aspose word : identify and regroup, split page after mail merge

I’m wondering if there is a way to split back a pdf that contains X number of pages.

If i do a mailmerge for 1000 entries and the result pdf have differents number of page for each entries.

Is it possible to split the result pdf by the page of the corresponding entry. Is there something that can be done to identity the page et do a split and get the document separated.

My mailmerge strategy is to mail merge each entry one by one but i was wondering if there is a way to speed up the process. I know i can mail merge lots of data but i end up with one file.

@jonatanbouillon Splitting the document after filling it with data will not speedup the process since the time required to build document layout and convert document to PDF grows not linearly from the document size. So merging each entry one by one and converting each small document to PDF will give the better performance than merging all entries into one document, converting large document to PDF and then splitting it.