问题
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:
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.
来源:https://stackoverflow.com/questions/8800891/how-can-i-edit-fields-in-pdf-dynamically-from-delphi-code