Hmmm I had to add a CFPDF flatten=yes tag after CFPDFForm to flatten
the PDF before stepping into the iText code.
Slows the page WAY down, but that is the only solution I have found so far.
-Original Message-
From: Chad Gray [mailto:cg...@careyweb.com]
Sent: Monday, March 22, 2010 3:31 PM
To: cf-talk
Subject: CFPDFForm and iText signature
I am using CFPDFForm to populate a PDF form with data from a database and save
it to the server. This works fine. I open it and the data is in the PDF.
I added another step to the CFM page that after CFPDFForm saves the file I run
iText to apply a signature to the PDF and flatten the form.
I open the new PDF with the signature and all my form data is gone. Only the
signature is on the PDF.
I thought maybe it was a timing issue that CFPDFForm was not saving the file
before iText got a hold of it. This is not the case. I can take the CFPDFform
generated PDF and only run the iText code on it and the form data is never
retained. Only the signature is on the PDF.
I opened the PDF with form data in Acrobat and did a save. Ran my iText code
on it and the form data and signature was on the PDF.
I am baffled. I dont understand why when I run the iText signature code that
the data put into the form by CFPDFForm would be deleted.
Ideas?
Thanks,
Cha
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332015
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm