It might not be possible without using third-party apps(not sure if there are any to support salesforce apex) but few minutes back I came across this post that seems to have a similar discussion. See if the below post helps
If you are looking a tool to Split PDF software PDF documents then download this free tool to split and divide PDF documents easily. This free tool will help you to split large sized PDF into small PDF pages or size. For more details visit here https://www.softwarewiki.org/split-pdf/
Use this All in One PDF Tool which performs multiple tasks like split PDF, merge PDF, Unlock PDF files which are secured with password & restrictions, add watermark Text & Image of your choice, apply password to PDF file, Convert PDF document to Image format and create an invoice from PDF file. This is a single investment which provides you many tasks to perform on PDF files. Also, this is fully reliable, simple & affordable in price. To buy it & to check demo version, use given link: https://www.osttopstapp.com/all-in-one-pdf-tool.html
The professional PDF splitter tool for Mac (https://www.macsonik.com/pdf-splitter/) is the best utility to split PDF files. It effortlessly split PDF files of any size and type. The PDF splitter tool offers different splitting options to customize the resultant PDF files. The PDF splitter for Mac enables encrypting the resultant PDF files after the splitting process.
Follow the below steps to split the PDF files- 1. Run the PDF splitter tool. 2. Add the required PDF files. 3. Opt for the desired criteria to split the PDF files. 4. Select split to initiate the process.
It might not be possible without using third-party apps(not sure if there are any to support salesforce apex) but few minutes back I came across this post that seems to have a similar discussion. See if the below post helps
- http:// https://developer.salesforce.com/forums/ForumsMain?id=906F000000098sQIAQ (http://https://developer.salesforce.com/forums/ForumsMain?id=906F000000098sQIAQ)
Hope this helps.Kindly mark this as solved if the reply was helpful.
Thanks,
Nagendra
The professional PDF splitter tool for Mac (https://www.macsonik.com/pdf-splitter/) is the best utility to split PDF files. It effortlessly split PDF files of any size and type. The PDF splitter tool offers different splitting options to customize the resultant PDF files. The PDF splitter for Mac enables encrypting the resultant PDF files after the splitting process.
Follow the below steps to split the PDF files-
1. Run the PDF splitter tool.
2. Add the required PDF files.
3. Opt for the desired criteria to split the PDF files.
4. Select split to initiate the process.