Re: Apache FOP integration

2022-01-28 Thread D Tim Cummings
iText is still open source but the license has changed. OpenPDF is the LGPL and MPL fork of iText from before the license changed to the AGPLv3. If you want to use iText with the free AGPLv3 license then you need to open source your software as well. Alternatively iText has commercial

Re: Apache FOP integration

2022-01-28 Thread Ivano Luberti
BTW Itext is no more open source, right? Il 28/01/2022 10:29, Volker Lamp ha scritto: Hello everybody Thank you all for your responses. Very useful to learn various libraries are being used in Tapestry apps. iText, JasperReport, PDFBox, and FOP. We'll go with Apache FOP in our project as it

Re: Apache FOP integration

2022-01-28 Thread Volker Lamp
Hello everybody Thank you all for your responses. Very useful to learn various libraries are being used in Tapestry apps. iText, JasperReport, PDFBox, and FOP. We'll go with Apache FOP in our project as it turns out we can re-use some FOP stylesheets from another project. A Tapestry FOP module

Re: Apache FOP integration

2022-01-27 Thread Ivano Luberti
Forgot to say I use pdfbox for pdf and zxing for QRCodes Il 28/01/2022 08:28, Ivano Luberti ha scritto: On a related argument, how do you print QRCodes or barcodes on the pdf? Il 27/01/2022 14:52, Ilya Obshadko ha scritto: I've been using FOP to generate PDFs from the Tapestry application for

Re: Apache FOP integration

2022-01-27 Thread Ivano Luberti
On a related argument, how do you print QRCodes or barcodes on the pdf? Il 27/01/2022 14:52, Ilya Obshadko ha scritto: I've been using FOP to generate PDFs from the Tapestry application for quite a few years. There's nothing specific to Tapestry, you just create a "rendering service" which does

Re: Apache FOP integration

2022-01-27 Thread Thiago H. de Paula Figueiredo
On Thu, Jan 27, 2022 at 2:55 PM Jens Breitenstein wrote: > The only interaction with Tapestry is the StreamResponse from an > EventHandler to the client. Friendly reminder you can return StreamResponse from a page's onActivate() method too. -- Thiago

Re: Apache FOP integration

2022-01-27 Thread Jens Breitenstein
Hi Volker! The only interaction with Tapestry is the StreamResponse from an EventHandler to the client. So are you asking for this part or is it more general „how do I create pdfs using fob“ which is honestly not related to tapestry? Von meinem iPhone gesendet > Am 27.01.2022 um 08:19 schrieb

Re: Apache FOP integration

2022-01-27 Thread Ilya Obshadko
I've been using FOP to generate PDFs from the Tapestry application for quite a few years. There's nothing specific to Tapestry, you just create a "rendering service" which does all the processing for you. The only caveat I remember is using Saxon instead of Xalan for running initial transformation

Re: Apache FOP integration

2022-01-27 Thread Ben Weidig
Hi Volker, can't help with FOP, but we're using JasperReport. With the HTML-to-PDF path it's often quite hard to get the layout right. That's why Jasper uses its own WYSIWYG designer, which isn't the nicest tool but it gets the job done. You can include variables, link other Jasper-files, loop

Re: Apache FOP integration

2022-01-27 Thread Numa Schmeder
Hello, I tried all solutions, and I finally use iText that converts an html file into PDF. You can tweak iText with specific css rules for page breaks etc.. This solution is quicker and easier to have a nice look and feel than FOP. Numa Schmederwww.dfacto.ch

Apache FOP integration

2022-01-26 Thread Volker Lamp
Hello Tapestry users, Our Tapestry webapp needs to generate printable PDFs including user input. We are currently looking at using Apache FOP for that. Has anyone integrated FOP in their Tapestry webapp and perhaps a Tapestry module to share? Suggestions for other approaches are also welcome.