Justified Solutions OpenPDF
OpenPDF is a Java library for creating 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 LibrePDF/OpenPDF. We welcome contributions from other developers. Please feel free to submit pull-requests and bugreports to this GitHub repository.
OpenPDF version 1.1.2 released 2020-04-22
- Small fixes to API (accept
null
as argments to some method calls) - Fixed issue with page breaks creating empty page in some cases
- Removed more unused code
OpenPDF version 1.1.1 released 2020-04-12
- Small fixes to API (mostly to documentation)
- Removed many features and classes as well as hundreds of lines of unused code
OpenPDF version 1.1.0 released 2020-04-07
- Introduced new API (com.justifiedsolutions.sfspro.pdf.* packages)
- Removed many features and classes as well as hundreds of lines of unused code
OpenPDF version 1.0.0 released 2020-03-28
- Initial release of the "slimmed down" version of OpenPDF.
Use OpenPDF as Maven dependency
Add this to your pom.xml file to use the latest version of OpenPDF:
<dependency>
<groupId>com.justifiedsolutions</groupId>
<artifactId>openpdf</artifactId>
<version>1.1.2</version>
</dependency>
Project Goals
Goals
- Minimize functionality
- Easy to understand and use API
Non-Goals
- Compatibility with iText or LibrePDF/OpenPDF
- Supporting Forms
- Supporting Encryption
- Supporting Signing
- Supporting Parsing
License
SPDX-License-Identifier: LGPL-3.0-only OR MPL-2.0
All contributions to OpenPDF must be dual licensed as LGPL v3 and MPL v2. When using this library you can use either license.
Background
Justified Solutions OpenPDF is open source software with a LGPL and MPL license. It is a fork of LibrePDF which 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. Justified Solutions OpenPDF was forked off of the LibrePDF version in March 2020. The goal of this version to provide a slimmed down version that focuses on the minimum requirements for creating a PDF document.
Coding Style
- A coding style configuraton for IntelliJ is included in the repository.
Dependencies
Required Dependencies:
- Java 11 or later
Testing Dependencies:
- JUnit 5