1

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?

5
  • iTextPDF looks promising to do this. It has C# API wrapper available though but the headers might be easy to translate. Commented Jan 10, 2012 at 9:30
  • But thats for C# and Java. Not for Delphi I guess Commented Jan 10, 2012 at 9:32
  • 1
    See this question on SO : delphi-load-and-edit-pdf-documents Commented Jan 10, 2012 at 9:53
  • I have gone through that qn. But none of them are GNU products. Commented Jan 10, 2012 at 9:55
  • Unlikely GPL guys will wish to work with anything Adobe's. Commented Jan 10, 2012 at 14:55

1 Answer 1

0

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.

Sign up to request clarification or add additional context in comments.

2 Comments

I cannot use any other programming language, the entire application is in Delphi, and now I cannot find anyway to call other languages.
To call java you can use JNA see link for an example. To call java to Delphi link

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.