Page numbering gets disturbed upon inserting one PDF into another PDF file

Hello,

I have one issue, I am inserting one PDF file into another PDF file, that time page number are coming in different sequences. how can I maintain sequence.

Example, 1st PDF has 5 pages, page numbers are 1,2,3 ,4,5, I inserted another PDF file at 3 position, that PDF File page numbers are 1, 2, . Final PDF generated and PDF page numbers are 1,2,3,1,2,4,5 this sequence.how can change the page numbers of PDF file.

My requirement is final PDF file page numbers should be 1,2,3,4,5,6,7.

Please help me in this, send me some sample code.

Regards

Suresh

Hi
suresh,


Thanks for your inquiry. Please confirm, if you were using Aspose.PDF component for inserting one PDF document into another PDF document?

Best Regards,

Hello,

I am using Aspose.Pdf.Kit.

using aspose.pdf.kit.PdfFileEditor in that insert () method I am using to insert one PDF to another PDF.

please send me ASAP sample code.

Regards

Suresh

Hi,

Thanks for your inquiry. As your request is related to Aspose.Pdf.Kit, I will transfer your request in Aspose.Pdf.Kit forum. My colleagues from Aspose.Pdf.Kit component team will answer you shortly.

Best Regards,

Hi Suresh,

I’m sorry to inform you that Aspose.Pdf.Kit for Java doesn’t allow you to renumber the pages after concatenation or insertion. However, we have already logged a new feature request as 28947 in our issue tracking system. You’ll be notified via this forum thread once it is supported.

We’re sorry for the inconvenience.
Regards,