Skip to content
This repository has been archived by the owner on May 29, 2021. It is now read-only.

Java binding to the Poppler PDF library using JNI

License

Notifications You must be signed in to change notification settings

cantaloupe-project/poppler-jni

Repository files navigation

poppler-jni

JNI binding to the C++ interface of the Poppler PDF library.

Not all Poppler API functions are implemented--mostly only what would be needed to support an Image I/O plugin (that has not yet been developed). Pull requests that expand the API coverage are welcome.

Development

Requirements

  • Java 9+
  • libpoppler
  • gradle (for the Java stuff)
  • cmake & make (to build the shared library)

Making changes to native code

After adding, removing, or changing the signatures of any native Java methods:

  1. Invoke generate_headers.sh. This will regenerate the .h files in src/main/cpp.
  2. For each of the header file function signatures that changed, update the corresponding function in the corresponding .cpp file.
  3. Invoke cmake .; make to rebuild the shared library.

About

Java binding to the Poppler PDF library using JNI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published