📜 ⬆️ ⬇️

Free libraries for creating and editing PDF files

A week ago, a free library was released to generate pdf-files of OpenPDF version 1.1.0 , the most significant upgrade of this library lately.

OpenPDF is a Java library for creating and editing PDF files, which is distributed under the dual LGPL / MPL license. The library is based on fork iText. In reality, she has this story:

LibrePDF/OpenPDF

forked from rtfarte/OpenPDF

forked from kulatamicuda/iText-4.2.0

forked from daviddurand/iText-4.2.0

forked from ymasory/iText-4.2.0


All forks lead the story from one version of iText 4.2.0, which was released eight years ago and became the latest version under a free license. The iText developers themselves switched to AGPL and concentrated on creating the fifth version in order to more successfully sell commercial software. By now, they have grown to version iText 7 . But the free project also did not die, but continued development by the forces of the whole community.

Since that time, the library has been improved in some ways, several bugs have been fixed. Although the changes are not very significant, but development continues, and everyone can contribute. If you need some specific functionality when generating PDF files, then suggest a patch and implement this function for everyone.
')
Since the old “original” version 4.2.0, the following changes have been made.


OpenPDF is a convenient way to embed PDF generation into your project, including with a cryptographic digital signature. This is a ready and free module, suitable for use in electronic document management. And such a system can be used, for example, with certificates for signing a PDF , to certify and approve PDF documents. Or integrate with GlobalSign's Digital Signing Service cloud signatures. Although the latter is already working, for example, with the solution for signing Adobe Sign documents in the Adobe Document Cloud.

Bouncy Castle cryptographic library support is very useful. The architecture of Bouncy Castle is based on a set of low-level APIs that implement all cryptographic algorithms. There is support for standard high-level cryptographic APIs of the Java and C # platforms.

Bouncy Castle's Java APIs in version 1.53 included about 400 thousand lines of code and supported a large number of algorithms, including basic X.509 certificate generation, JCE / JCA, PKCS # 10, PKCS # 12, S / MIME, OpenPGP, DTLS, TLS, OCSP, TSP, CMP, CRMF, DVCS, DANE, EST, Attribute Certificate (AC) certificates, which are used to associate additional information with a public key certificate.

It should be noted that in addition to OpenPDF, there are other free libraries for generating PDF. For example, there is still veraPDF or the wonderful Apache PDFBox library. The latter is actively supported and has a rich set of functions:


So nowadays it’s not at all necessary to use proprietary tools to create or edit PDF. There are many free alternatives for this.



PROMOTION GMO GlobalSign Russia for Habr subscribers


For more information, please contact the GlobalSign manager by phone: +7 (499) 678 2210 or fill out the form on the website, specifying the promotional code CS002HBFR.

Source: https://habr.com/ru/post/417277/


All Articles