开发者

Is there any library to create pdf form and fields? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago. 开发者_StackOverflow中文版

Is there any library to create pdf form and fields ?

thanks for your suggestion.


The only truly non-commercial (and good) answer is Apache's PDFBox. Even iText is licence-encumbered if you aren't making commercial software. It features:

  • PDF to text extraction
  • Merge PDF Documents
  • PDF Document Encryption/Decryption
  • Lucene Search Engine Integration
  • Fill in form data FDF and XFDF
  • Create a PDF from a text file
  • Create images from PDF pages
  • Print a PDF


Have you looked at itext?


The Big Faceless Java PDF Library supports interactive form creation. See the Form class docs (click on 'Javadoc API online' then choose the Form class) for a brief intro.

Unfortunately, this functionality is only supported in their Extended edition of the library, which is licensed per-CPU and is quite expensive.

AFAIK, most less expensive (or free) PDF libraries out there (such as iText) commonly support form manipulation (e.g. filling out existing form fields) but not form creation.


You may also try Aspose.Pdf.Kit for Java to create PDF forms and add form fields in the PDF file. This component doesn't require Adobe Acrobat or Adobe Reader to be installed on the development and deployment machines in order to work with PDF files. The API is easy to learn and simple to implement; it is also accompanied with comprehensive documentation and support.

Disclosure: I work as a developer evangelist at Aspose.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜