Re: Creating PDF from excel tables
Jakub Vojtíšek <[email protected]> Wed, 20 Sep 2023 12:01:17 +0200
| Newsgroups | gmane.comp.jakarta.poi.user |
|---|---|
| Message-ID | <CANBGFpPxKy90hmDpruj9P+AcRK=B8YEn0oMKFLjkPpa8LhUzNQ@mail.gmail.com> |
Hi Markus, Thank you for your suggestions. The gotenberg containers are certainly interesting. I'll try google sheets as well. Many thanks, Jakub On Tue, 19 Sept 2023 at 13:59, Markus Kirsten <[email protected]> wrote: > Two more options, depending on your use-case > * Gotenberg, takes Excel files and produces PDFs in a stateless Docker > container - https://gotenberg.dev/ > * You can use a partly undocumented feature in Google Sheets: shoot up the > file to Sheets, get the URL and add on parameters to export to PDF and get > the PDF back (rendered by Google's print engine) > > I've used both successfully. First one is the more production grade way to > do it, and the second can be a quick hack. > > On Tue, 19 Sept 2023 at 12:25, Andreas Reichel < > [email protected]> wrote: > > > On Tue, 2023-09-19 at 12:12 +0200, Jakub Vojtíšek wrote: > > > Hi, > > > > > > I have a couple of general questions: > > > 1) Is there any plan or desire for POI to support exporting Excel > > > tables to > > > PDF? > > > 2) Do you know of any framework, preferably open source, using POI to > > > create PDF documents from excel files? > > > > On more thing: Instead of POI, you may use the LibreOffice UNO Java > > interface to print the spreadsheet to PDF. Although this will depend on > > an installation of LibreOffice if will certainly give you the best PDF. > > > > Cheers > > Andreas > > > > > > >