iTextSharp or XSL-FO to create a PDF dynamically with fillable forms?

99封情书 提交于 2019-12-11 10:04:29

问题


This is my first stackoverflow question. After days of research, I am still lost on how this can be done, if its even possible. I am trying to create a PDF document using either iTextSharp or XSL-FO (FO.NET is what I am using currently). Creating the documnet is no problem. I need this documnet to have fields that the user can still fill in. I am aware of the ability to create a PDF form using acrobat, then using iTextSharp to fill in those fields. This can then be saved and the user can open the document and edit it. The problem with this is, anytime the PDF "template" needs to be changed, someone has to edit the PDF document, then change the backend logic to handle the new field.

I am looking for a 100% dynamic solution. Ideally I would use XSL and FO to create this document without the need for an exisiting PDF document. I have found no way to create a fillable form using FO.NET, or even iTextSharp, without already having an exisiting PDF "template".

Thanks in advance.


回答1:


I believe both the RenderX XEP and Antenna House FO processors support PDF Forms. They aren't free and additional output modules may be required for PDF Forms.



来源:https://stackoverflow.com/questions/5082933/itextsharp-or-xsl-fo-to-create-a-pdf-dynamically-with-fillable-forms

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