[Seaside] WAComponent to PDF
johan at inceptive.be
Thu Oct 22 14:08:00 UTC 2015
I recently stumbled upon this: http://www.cloudformatter.com/css2pdf <http://www.cloudformatter.com/css2pdf>
If you only want to generate pdf with tables, see datatables.net <http://datatables.net/> ‘buttons’ plugin.
> On 22 Oct 2015, at 15:56, Hilaire <hilaire at drgeo.eu> wrote:
> I would like to render WAComponents as PDF documents.
> I took at look at Artefact, but it is an important work to render again
> the data as PDF with Artefact, not to mention I feel it is a duplicated
> work. Moreover, I have quite long documents spanning over several pages,
> some of my tables are complex with some columns spanning over 2 or 3
> columns and I have about 50 different documents to turn as PDF file.
> Now I am think about rendering these components on dedicated pages, then
> using wkhtmltopdf.
> What I would do is get these components rendered at dedicated urls, then
> call wkhtmltopdf with these urls as arguments.
> Practically how will you do that? How to forge an URL for a page
> rendering the component with a dedicated decoration for PDF conversion
> (dedicated css, header, footer)?
> My initial though is REST. Is it the right direction? Or are there other
> Thanks for tips, enlightenment or thought on the matter.
> Dr. Geo
> seaside mailing list
> seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside