Re: [SPAM] Re: Freemarker to create a PDF ?

"Newman, John W" <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <D688C4D318A63D4290AA94A33E06F7D2019256FCC0@msxmbxnsprd14.acct.upmchs.net>
We've had pretty decent luck with xml > xsl-fo > fop.  I was pretty surprised about the quality of the pdf rendering engine, usually when I've used a pdf renderer it doesn't get everything right and a lot of stuff looks funny.  Fop is pretty dead on though; we are battling one minor limitation, but generally it's a great product for the price =)

-----Original Message-----
From: Daniel Lopez [mailto:[email protected]] 
Sent: Friday, May 08, 2009 2:03 PM
To: [email protected]
Subject: [FreeMarker-user] [SPAM] Re: Freemarker to create a PDF ?

One approach we have used succesfully is to generate XHTML from  
FreeMarker and then use XHTMLRenderer (a.k.a. the FLying Saucer) to  
generate the PDF from XHTML (as Daniel Dekany said, filtering the  
output). Depending on the document you have to produce, (X)HTML is  
much more well-known format than FOP, for example, so it might be  
easier to work with.

S!
D.

S'està citant Daniel Dekany <[email protected]>:

> Friday, May 8, 2009, 4:02:55 PM, Ista Pouss wrote:
>
>> Hi,
>>
>> Is it possible to create a PDF file with some freemarker template ?
>
> If you "filter" the output of the template through the required
> transformations... like you generate FO with the template, then
> transform that to PDF with FOP (or preferably with something more
> serious, like XEP). Of course, writing FO directly is not fun, so you
> will want to create some FreeMarker macros that represent higher-level
> concepts, like paragraphs, titles, etc.
>
>> Thanks for your answer.
>
> --
> Best regards,
>  Daniel Dekany
>
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> FreeMarker-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freemarker-user
>



----------------------------------------------------------------




------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
FreeMarker-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freemarker-user

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.