Hi Henry,

Yes it is very doable.

I have not done this with the Acrobat 8 or 9, but I have with 4 through 7 using 
the Adobe FDF
Toolkit. The FDF Toolkit is a ActiveX/COM interface to reading and writing FDF 
files. FDF files are
tagged file (looks a bit like XML). If you double-click or Shell open an FDF 
file it opens up the
PDF with the form fields filled in with the data you populate in the FDF file. 
Technically you can
create the FDF file without the FDF Toolkit since it is a flat text file, but I 
think the FDF
Toolkit simplifies it.

The files open in Acrobat Reader or full version, but you can only save the 
Forms data to a file
with the full version. The free FoxIt Reader might be able to save the FDF 
file, but I have not
played with this feature yet.

If you have MegaFox from Hentzenwerke you already have sample code to show you 
how this all works.
Same if you attended the GLGDW 2000 or Essential Fox Conference 2002 where I 
presented this
material.

None of those? Too bad... just kidding <g>:

http://whitelightcomputing.com/resources/Schummer_IntegratingPdfWithVfpSource.zip
 
http://whitelightcomputing.com/resources/Schummer_IntegratingPdfWithVfpDOC.zip
http://whitelightcomputing.com/resources/Schummer_IntegratingPdfWithVfpPPT.zip 

The FDF Toolkit is available here: 
http://www.adobe.com/devnet/acrobat/fdftoolkit.html 

More information on the Adobe Web site with respects to the more modern XFDF 
format, which is XML. I
have something that works with the FDF Toolkit and have not felt compelled to 
move to the newer
technology yet. It might be worth doing so for your project.

Rick
White Light Computing, Inc.

www.whitelightcomputing.com
www.swfox.net
www.rickschummer.com

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, June 27, 2008 08:24 AM
To: [EMAIL PROTECTED]
Subject: Writing to a PDF form


The situation:
-------------
- There's a 37-page PDF form that someone created
- Turns out 1/3 of the fields come from a report my VFP9 application generates
- Users think it's normal to re-type my report into the PDF form
- I think otherwise...

The question:
------------
A PDF form must have fields and/or tags that I can look for and plug my values 
in, no?

The caveat:
----------
The PDF form will already exist and will most likely be partially filled. It is 
not an option to
re-generate the PDF form from the app. I simply want to alter an existing PDF 
file.


Has anyone done something like this? Is it at all doable? 

Any help would be greatly appreciated.

Henry


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to