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

Daniel Dekany <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
Yeah, good point. With Flying Soucer one can also use whatever XML
schema + CSS. And for most programmers CSS is more familiar than FO,
and anyway it's easier to learn.

-- 
Best regards,
 Daniel Dekany


Friday, May 8, 2009, 8:02:54 PM, Daniel Lopez wrote:

> 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

-- 
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
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.