cancel
Showing results for 
Search instead for 
Did you mean: 

Edit PDF and show the edited pdf in browser

mcasanket
Champ on-the-rise
Champ on-the-rise

Hi,

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.

Please help!

Thank you!

1 ACCEPTED ANSWER

jpotts
World-Class Innovator
World-Class Innovator

You can use the Alfresco PDF Toolkit to add things like sequence numbers to PDF pages. In fact, it uses the iText library under the covers so whatever you were doing there is probably possible using the toolkit.

View answer in original post

4 REPLIES 4

mrks_js1
Star Contributor
Star Contributor

I would go back to the drawing board and challenge this requirement.

how are the user working with these documents?

This is something like user will come and start filling the form. We will present them a PDF which will have a unique id on top right corner of pdf. So if he leaves the form in-between, he will be able to retrieve the same form by using the unique id.

The user me just download the pdf and fill it by hand and scan and send.

Thank you

jpotts
World-Class Innovator
World-Class Innovator

You can use the Alfresco PDF Toolkit to add things like sequence numbers to PDF pages. In fact, it uses the iText library under the covers so whatever you were doing there is probably possible using the toolkit.

mcasanket
Champ on-the-rise
Champ on-the-rise

Hi Jeff,

Thanks for your reply. I have done it somehow. But yes Alfresco PDF Toolkit would can be used for the same purpose. In fact I have used the iText only to do so.

Thank you once again for your time!