Proper conversion from XLS to PDF in Java
3 minute read Published: 2021-06-30Generating or modifying Excel files in Java is easy with Apache POI.
But when you generate Excel reports, you always end up having to export them in PDF too.
If you look for a library for this conversion, you'll find many ones, most of them expensive, and none of them giving acceptable results.
I explain here the efficient and reliable enough solution I've used in a Java application.