Question
2
Replies
526
Views
Cognizant
Posted: December 26, 2017
Last activity: December 26, 2017
Closed
Split PDF file pages into sub PDF files
We need to split a pdf file in our application page wise. User can select page numbers from and to from our UI and can click on save. This should create a sub pdf file with selected number of pages.
Any suggestions!
Pega 7.2.2
I don't think Pega OOTB provides this facility. Guess you need to write custom java in activity to achieve this. I found some relevant java snippets :
https://stackoverflow.com/questions/5736675/itext-split-a-pdf-into-several-pdf-1-per-page
http://www.rgagnon.com/javadetails/java-0647.html
https://developers.itextpdf.com/examples/stamping-content-existing-pdfs-itext5/splitting-pdf-file