OpenPDF

Project Url: LibrePDF/OpenPDF
Introduction: OpenPDF is a free Java library for creating and editing PDF files with a LGPL and MPL open source license. OpenPDF is based on a fork of iText. We welcome contributions from other developers. Please feel free to submit pull-requests and bugreports to this GitHub repository.
More: Author   ReportBugs   
Tags:

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.

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

OpenPDF version 1.2.4 released 2018-09-14

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

Previous Versions

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.

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.2.4</version>
    </dependency>

There is a separate Java 7 compatible branch and release:

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

Docs

See examples and JavaDoc.

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.

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.

Dependencies

  • Java 8 or later is required to use OpenPDF. There is a separate branch for Java 7 called 'java7'.

Required Dependencies:

  • Apache Commons IO
  • Apache Commons Compress
  • Apache Commons Text
  • Apache Commons Codec
  • Juniversalchardet

Optional:

  • BouncyCastle 1.60
    • Provider
    • PKIX/CMS
    • JUnit 4 - for unit testing
    • JFreeChart - for testing graphical examples
    • JFreeChart
    • JCommon
    • Servlet
    • DOM4j is required for the pdf-swing submodule.
Support Me
Apps
About Me
Google+: Trinea trinea
GitHub: Trinea