[Catalyst] How create a PDF report?

Toby Corkindale toby at ymogen.net
Thu Jun 8 15:31:52 CEST 2006


Christian Sánchez wrote:
> Hi, I'm been using Catalyst recently to make a little application and
> I want to create a PDF report, I have it using TT, Is there a way to
> make it in PDF format?. I was reading the documentation but I didn't
> found (or maybe didn't see ) something about that, I also search in
> CPAN but I didn't see some module or plugin for this. How can I do
> this? Is there a module or documentation about this?.
> 
> Thanks.
> 

One option is to make an alternative TT template that outputs XSL-FO*, 
and then use Apache FOP to transform that into PDF. That works quite 
well and produces nice PDFs, but might be a bit heavy-weight if you're 
only looking to make one thing.

[*: Or, output XML, and then do an XSLT->XSL-FO transformation prior to 
continuing with FOP.]



More information about the Catalyst mailing list