vandeseer / easytable

Small table drawing library built upon Apache PDFBox
MIT License
239 stars 91 forks source link

Support both PDFBox v2 and v3 #148 #154

Closed jsimomaa closed 6 months ago

jsimomaa commented 7 months ago

Uses reflection to determine PDFBox runtime environment version. Fixes #148

mptardy commented 7 months ago

@jsimomaa thanks a lot! @vandeseer would be amazing to get this merged and released.

vandeseer commented 6 months ago

Hey @jsimomaa, thanks a lot for your pull request! I honestly haven't had a look into PDFBox 3.x.x yet – simply because I don't really need the easytable library myself anymore. I quickly tried to build the code with your changes, but I see that there are some more compile issues ...

vandeseer commented 6 months ago

I upgraded the develop branch to be compatible with PDFBox 3. You can download and build it for trying it out. I hope to release that in the next days using a new major version to indicate that bigger change.

vandeseer commented 6 months ago

@jsimomaa @mptardy I just released version 1.0.0 which supports PDFBox 3.x.x.

Thanks for your PR @jsimomaa, but it's not that simple to support both versions with the same code base. Hence I decided to release a new one. However, your PR helped me to get started! :+1: :wink: