aspose file tools*
The moose likes Other Open Source Projects and the fly likes Pre populating a PDF and making it editable using iText Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Pre populating a PDF and making it editable using iText" Watch "Pre populating a PDF and making it editable using iText" New topic
Author

Pre populating a PDF and making it editable using iText

Anjali Raman
Ranch Hand

Joined: Nov 28, 2007
Posts: 57
Hello to all the Ranchers,

I see to be hitting my head onto a problem for which I am not getting a solution over the net. So I seek help from you.

My program was to populate a PDF with values and return the form using iText.
I was able to do this and things were going fine. It was later decided that the form has to be made editable after the values are populated using iText.
This part I am unable to do.

I have tried using the PDFStamper.partialFormFlattening() along with the stamper.setFormFlattening(true) with not much success.

Many have enquired for this same issue and I do not see any concrete answers coming in.

Below is a section of the sample code. I was able to partially populate the PDF but then the PDF was uneditable. I want it to be editable



Any help regarding is greatly appreciated.

Thanks
Anjali
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42277
    
  64
If you use iText in earnest, then you simply must get a copy of "iText in Action". Without it, you'll waste countless hours hunting down arcane knowledge of iText's inner working that aren't well (or not at all) documented. Be sure to get the right edition: ed. 1 for iText 1 and 2, ed. 2 for iText 5.


Ping & DNS - my free Android networking tools app
Anjali Raman
Ranch Hand

Joined: Nov 28, 2007
Posts: 57
Thanks for the reply Ulf.
But I am hopeful that there could be someone who has actually faced this issue and implemented this as it seems to be a generic problem with all who use iText APIs.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Pre populating a PDF and making it editable using iText