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.
- Java 9+
- libpoppler
- gradle (for the Java stuff)
- cmake & make (to build the shared library)
After adding, removing, or changing the signatures of any native Java
methods:
- Invoke
generate_headers.sh. This will regenerate the.hfiles insrc/main/cpp. - For each of the header file function signatures that changed, update the
corresponding function in the corresponding
.cppfile. - Invoke
cmake .; maketo rebuild the shared library.