In one requirement I need to put sequence number on the top right corner of the PDF. I can easily do it via stand alone java program using iText api.
I need to do it in Alfresco. I need to show the PDF file in browser whenever user clicks on a link from the external site, it will call my webscript and it will open the PDF that will have a form and the sequence number on top of it.
It means the original PDF (template) should not be changed but a copy of the file should be created with sequence number and should be shown on browser. Moreover I don't want to save this file anywhere.