Giter Site home page Giter Site logo

openpdf's Introduction

OpenPDF is a Java PDF library, forked from iText

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

OpenPDF version 1.0 released 2016-05-13##

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

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/

Use OpenPDF as Maven dependency

Add this to your pom.xml file:

    <dependency>
        <groupId>com.github.bengolder</groupId>
        <artifactId>openpdf</artifactId>
        <version>1.0</version>
    </dependency>
    <dependency>
        <groupId>org.bouncycastle</groupId>
        <artifactId>bcprov-jdk15on</artifactId>
        <version>1.55</version>
    </dependency>

Background

Beginning with version 5.0 of iText, the developers have moved to the AGPL to improve their ability to sell commercial licenses. I fully respect the developers' wishes and rights. However, I also respect open-source software. The plan is to keep things free and open. One of the other intents is to boil this code down to the essentials. Anything outside of creating PDF documents will be moved to an extension library. This library is for core PDF needs and concerns.

Changes

This repo has the following changes from the old "original" 4.2.0 version:

  • compilation now also supports Java 8, but compatibility level in maven pom is set to Java 7
  • in the case of unexpected end of PDF file the IOException is thrown (not PDFNull)
  • merged patch from Steven to fix NPE in XFA Form (escapeSom method)
  • merged UnembedFontPdfSmartCopy functionality from Vicente Alencar
  • merged RTF Footer functionality from ubermichael
  • compatibility fix to support the newest (1.54) bouncy castle libraries based/inspired by flex-developments fixes
  • some NPE fixes and tweaked maven support

Contributing

Release the hounds! Please send all pull requests.

Dependencies

Required:

BouncyCastle: Provider PKIX/CMS

PDFRenderer

DOM4j

Optional:

JUnit 4 - for unit testing

JFreeChart: - for testing graphical examples JFreeChart JCommon Servlet

openpdf's People

Contributors

andreasrosdal avatar daviddurand avatar ymasory avatar mrestivill avatar bengolder avatar syakovyn avatar ubermichael avatar weiyeh avatar rosdal avatar jokimaki avatar gskathol avatar vicentealencar avatar kulatamicuda avatar ms6107 avatar rtfarte avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.