Edit PDF documents in Delphi

人走茶凉 提交于 2020-01-01 15:02:33

问题


We have a requirement to add the ability to edit PDF documents witin a Delphi application.

I.e. given a PDF document, open it and generate a form with edit boxes on it which the user can use to update the PDF document.

Can anyone suggest a third part component that would provide this functionality or suggest some way of achieving this.

Thanks


回答1:


I use QuickPDF. Well documented, lots of examples, good support. However updating text in a PDF is an art, not a science, and unless you have full control over the producer of the PDF you may find it hard to do in the general case. For example: I have seen PDFs where text is formed from individual characters, each inserted at a specific location, so hard to edit as words; and of course in some PDFs the 'text' is actually an image of text, requiring OCR before you can edit it.




回答2:


You can try Gnostice PDFtoolkit.

DISCLAIMER: I work for Gnostice.




回答3:


Take a look at Amyuni PDF Creator ActiveX, it is supported in 32 bit and 64 bit applications, you may find it useful now that Delphi has a 64 compiler.

Usual disclaimer applies



来源:https://stackoverflow.com/questions/11857572/edit-pdf-documents-in-delphi

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