How can I edit fields in pdf dynamically from Delphi code?

2.1k views Asked by At

I have to update fields in pdf dynamically from Delphi code. Is it possible to classify a textbox from a checkbox in pdf file? If so, how to update from Delphi code? Is there any third party library available under GNU license for that matter?

1

There are 1 answers

2
DavidG On BEST ANSWER

If you can figure out how to run PHP from within Delphi (?), there is another tool TCPDF which is LGPL licensed close to GNU licensing.

If you can figure out how to call Java from Delphi, then you could try PDFBox (an Apache project so the licence might be more friendly). Not sure if this can populate form edit fields. iText after verson 2.1.7 requires a bought license AFAIK (GNU Affero General Public License version 3 as per the web site) so might be the same for iTextPDF. It can certainly populate forms.

So far as Delphi tools, Gnostice make a commercial tool that seems to have promise to do but you have to pay.