Skip to content

The Apache PdfBox project ported to work on Android

License

Notifications You must be signed in to change notification settings

ooyellow58/PdfBox-Android

 
 

Repository files navigation

PdfBox-Android

Maven Central Build Status

A port of Apache's PdfBox library to be usable on Android. Most features should be implemented by now. Feature requests can be added to the issue tracker. Stable releases can be added as a Gradle dependency from Maven Central.

The main code of this project is licensed under the Apache 2.0 License, found at http://www.apache.org/licenses/LICENSE-2.0.html

Usage

Add the following to dependency to build.gradle:

dependencies {
    implementation 'com.tom-roush:pdfbox-android:2.0.1.0'
}

Before calls to PDFBox are made it is required to initialize the library's resource loader. Add the following line before calling PDFBox methods:

PDFBoxResourceLoader.init(getApplicationContext());

An example app is located in the sample directory and includes examples of common tasks.

Important notes

-Currently based on PdfBox v2.0.1

-Requires API 19 or greater for full functionality

About

The Apache PdfBox project ported to work on Android

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%