Thanks for the quick response. I am using a licensed version of Aspose PDF, PDF.Kit, and Cells for Java.
The code I am using is
PdfFileEditor pdfFileEditor.concatenate(inStreams, outputStream);
to merge already existing PDFs, all of which have already been individually numbered. They have been numbered in the footers, with code in an upstream application like the following:
="Page " & FormatNumber (Page() , “#”) & " of " & FormatNumber (NumberOfPages() , “#”)
I would like to use the Apose PDF or PDF.Kit to remove the existing page numbers, which have been applied using the above, and apply my own numbering to the entire set of merged documents in my Java application.
Thank you very much for sharing further details. I’m afraid, this feature is currently not supported. However, I have logged a new feature request as PDFKITJAVA-28947 in our issue tracking system. You’ll be updated via this forum thread once it is supported.
We’re sorry for the inconvenience.
Thanks for the info. If the requirement to remove existing page numbers is removed, what is the easiest way to add my own page numbers to the merged PDF using the Apose API? Either PDF or PDF.Kit
You may use addPageNumber method of the PdfFileStamp class to add page number in a PDF file. You can find all the overloads of this method on PdfFileStamp class page.
I hope this helps. If you find any further questions, please do let us know.