Popularity
7.0
Growing
Activity
8.7
Declining
1,622
64
376

Programming language: Java
Tags: PDF     Projects    
Latest version: v1.3.18

OpenPDF alternatives and similar libraries

Based on the "PDF" category

Do you think we are missing an alternative of OpenPDF or a related project?

Add another 'PDF' Library

README

OpenPDF is an open source Java library for PDF files

OpenPDF is a Java library for creating and editing PDF files with a LGPL and MPL open source license. OpenPDF is the LGPL/MPL open source successor of iText, and is based on a fork, of a fork, of iText 4 svn tag. We welcome contributions from other developers. Please feel free to submit pull-requests and bugreports to this GitHub repository.

Build Status Join the chat at https://gitter.im/LibrePDF/OpenPDF Maven Central License (LGPL version 3.0) License (MPL)

OpenPDF version 1.3.18 released 2020-06-02

Get version 1.3.18 here - https://github.com/LibrePDF/OpenPDF/releases/tag/1.3.18

Use OpenPDF as Maven dependency

Add this to your pom.xml file to use the latest version of OpenPDF:

    <dependency>
        <groupId>com.github.librepdf</groupId>
        <artifactId>openpdf</artifactId>
        <version>1.3.18</version>
    </dependency>

License

GNU General Lesser Public License (LGPL) version 3.0 - http://www.gnu.org/licenses/lgpl.html

Mozilla Public License Version 2.0 - http://www.mozilla.org/MPL/2.0/

We want OpenPDF to consist of source code which is consistently licensed with the LGPL and MPL licences only. This also means that any new contributions to the project must have a dual LGPL and MPL license only.

Documentation

  • [Examples](pdf-toolbox/src/test/java/com/lowagie/examples/)
  • JavaDoc
  • Tutorial (wiki, work in progress)

Background

OpenPDF is open source software with a LGPL and MPL license. It is a fork of iText version 4, more specifically iText svn tag 4.2.0, which was hosted publicly on sourceforge with LGPL and MPL license headers in the source code, and lgpl and mpl license documents in the svn repository. Beginning with version 5.0 of iText, the developers have moved to the AGPL to improve their ability to sell commercial licenses.

Projects using OpenPDF

Android support

OpenPDF now has Android support, more info here: Android-support

Contributing

Release the hounds! Please send all pull requests. Make sure that your contributions can be released with a dual LGPL and MPL license. In particular, pull requests to the OpenPDF project must only contain code that you have written yourself. GPL or AGPL licensed code will not be acceptable.

Coding Style

  • Code indentation style is 4 spaces.
  • Generally try to preserve the coding style in the file you are modifying.

Dependencies

Required Dependencies:

  • Java 8 or later is required to use OpenPDF. All versions Java 8 to Java OpenJDK 13 have been tested to work.
  • Juniversalchardet

Optional:

  • BouncyCastle (BouncyCastle is used to sign PDF files, so it's a recommended dependency)
    • Provider
    • PKIX/CMS
    • TwelveMonkeys imageio-tiff - optional by default, but required if TIFF image support is needed.
    • JUnit 5 - for unit testing
    • JFreeChart - for testing graphical examples
    • JFreeChart
    • JCommon
    • Servlet
    • DOM4j is required for the pdf-swing submodule.
    • Apache FOP

Credits

Significant Contributors to OpenPDF on GitHub:

@andreasrosdal - Andreas Røsdal - Maintainer of OpenPDF from 1.0 to 1.3.15, now retired from OpenPDF development.
@daviddurand - David G. Durand
@tlxtellef - Tellef
@asturio - Claudio Clemens
@ymasory
@albfernandez - Alberto Fernández
@noavarice
@bengolder - Benjamin Golder
@glarfs
@Kindrat
@syakovyn
@ubermichael - Michael Joyce
@weiyeh
@SuperPat45
@lapo-luchini
@MartinKocour - Martin Kocour
@jokimaki
@sullis
@lapo-luchini
@jeffrey-easyesi
@V-F
@sixdouglas - Douglas Six
@razilein - Sita Geßner
@PalAditya - Aditya Pal
@rammetzger
@codecracker2014
@mluppi
@vic0075
@armin-weber
@dandybudach Dandy Budach
@salsolatragus Sven Amann
@suiaing

Also, a very special thanks to the iText developers ;)


*Note that all licence references and agreements mentioned in the OpenPDF README section above are relevant to that project's source code only.