使用 PDF 表单和 PDFTK & PHP
我有一个 PDF,我正在使用 PDFTK 来删除其中的字段。我的问题是字段转储中字段和字段名称的顺序不是很清楚。例如:复选框的字段名称为“box7”、“box3”、“box2”。未经测试,我不知道这些是哪些复选框。
我需要能够以编程方式识别这些字段。或者我需要知道它们在 pdf 上的位置。
最终,我如何通过用户单击他们想要的字段或以编程方式正确识别这些字段?
I have a PDF that I am using PDFTK to rip the fields out of. My problem is that the order of the fields and field names are not very clear in the field dump. For example: Checkboxes are given field name "box7", "box3", "box2". I do not know which checkboxes these are without testing.
I need to be able to pro grammatically identify these fields. Or I need to know their location on the pdf.
Ultimately, how can I properly identify these fields either through the user clicking on the field they want or pro grammatically?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 Adobe LiveCycle 表单设计器(包含在 acrobat 7 及更高版本的付费版本中)中打开您的 pdf。您可以查看表单字段名称,根据需要重命名它们等...LiveCycle 将 Acrobat 表单从水中吹出来!我在工作中使用 PDFTK/PHP/LiveCycle PDF 来运行我们的整个产品标签系统,并在我们的网站上为客户创建了一个文档自助服务门户......如果您遇到困难,请随时跟进更多问题
Open your pdf in Adobe LiveCycle form designer (included with paid versions of acrobat from version 7 and up). You can see the form field names, rename them as needed etc... LiveCycle blows acrobat forms out of the water! I use PDFTK/PHP/LiveCycle PDFs my work to run our entire product labeling system and created a document self service portal for customers on our website.... feel free to follow up with more questions if you get stuck