在Delphi中编辑PDF文档 [英] Edit PDF documents in Delphi
问题描述
我们需要添加在Delphi应用程序中编辑PDF文档的能力。
We have a requirement to add the ability to edit PDF documents witin a Delphi application.
给出一个PDF文档,打开它并生成一个带有编辑框的表单,用户可以使用该表单来更新PDF文档。
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.
感谢
推荐答案
我使用 QuickPDF 。有文献记录,很多例子,很好的支持。但是,更新PDF中的文本是艺术而不是科学,除非您完全控制PDF的生产者,否则您可能会发现在一般情况下很难做到。例如:我看到了PDF,其中文字由单个字符形成,每个字符都插入到特定位置,因此难以编辑为单词;当然在某些PDF中,文字实际上是文字的图像,需要OCR才能编辑它。
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.
这篇关于在Delphi中编辑PDF文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!