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

余生长醉 提交于 2020-01-23 17:50:27

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!