View Single Post
  #1 (permalink)  
Old 09-30-2008, 10:51 PM
michael_eisenman@adobeforums.com
Guest
 
Posts: n/a
Default Use of text Boxes to programmatically update a PDF form

Hello all;

I am a very experienced programmer but I do not have much experience with
PDFs , Acrobat, etc.

I have come up with what I believe is my best solution based on what
I have learned about PDFs and Acrobat.

I am trying to do what seems , to me, like a very simple thing.

Basic Programming Logic ....

Develop a C# program that runs on a local client.
Reads in an existing PDF file - which has been authored using Acrobat 9.0 Professional to have Text boxes that have meaningful names ... ie - recognizable names.
Read some huge data file in EDI - or XML format - from some source or another.
Update the "template" PDF file using this information by locating the appropriate text boxes named in the PDF file itself and print out as many pages of the PDF form as needed with the electronically received data.

Basic Algorithm Logic

I create a linked list in memory of all the internal segments of the PDF - carefully preserving all the necessary information and using the recognizable names of the text boxes - I re-write only the information that will appear in the text box and create a newly created and updated version of the PDF file and print it out. Repeating this for as many times as needed.

This is my expected approach .

Is there any reason why this should not be done or used ?

Thank You , in advance, for your assistance.


Reply With Quote