I want to edit a PDF file in the Salesforce Document folder to add some text or background image to it, and then save the changes in a new PDF document.
I tried to include the PDF in a Visualforce page using and render this page as PDF. But that didn't work, because renderAs="PDF" didn't display the iframe in the output PDF. Clearly, PDF generation in Visualforce only works with some components.
Do you have any idea how to achieve PDF manipulation in Apex/Visualforce? I thought of using a Heroku service for which I can send the PDF file to do the PDF manipulation (In Java, Ruby on any other language). Is that a viable option? Do you know any ready-to-use Heroku services that can do the job?
Thanks in advance for your help. Riadh.