PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com _____________________________________________________________
At 2:19 PM +0000 11/26/03, David R Evans wrote:
I want to be able to populate a text form field with a text value when the PDF is open in Reader on Windows (this plug-in will be licensed to do so).
OK - so you've already gotten past that problem ;).
What is the best way of doing this given that the document will all ready be open?
What version(s) of Reader are you targeting?
The options seem to be:
1) use the Forms API to set a new value for the field, but that will not update the appearances too, so how do you update them?
First, this will only work in Acrobat Reader 5.1 and later AND only if the document is "rights enabled".
However, if those circumstances are present, then you can use the stuff in the Forms API to create an appearance as well.
2) Use the ImportAnFDF Forms API call to import an FDF that was created earlier.
Again, this will only work in Acrobat Reader 5.1 and later AND only if the document is "rights enabled".
3) Use the AVDocSendAuxData Acrobat API call -- is there an AuxDataHandler for FDF data and, if so, what is its name? Forms? FDF?
I don't believe this will work.
AFAIK, the only general way to make this work is to do it the hard way - Cos level APIs.
Leonard -- --------------------------------------------------------------------------- Leonard Rosenthol <mailto:[EMAIL PROTECTED]> Chief Technical Officer <http://www.pdfsages.com> PDF Sages, Inc. 215-629-3700 (voice) 215-629-0789 (fax)
To change your subscription: http://www.pdfzone.com/discussions/lists-pdfdev.html
