[prev in list] [next in list] [prev in thread] [next in thread] 

List:       velocity-user
Subject:    Re: Generating PDF - this way?
From:       "Mihai Gheorghiu" <tanethq () earthlink ! net>
Date:       2002-05-31 14:55:32
[Download RAW message or body]

If you need reports, check Jasper Reports on Source Forge. It's iText based
and works great.
Re. FOP: check www.xslfast.com (not tried myself yet).
HTH

-----Original Message-----
From: Saimon Moore <saimonmoore@yahoo.co.uk>
To: Velocity Users List <velocity-user@jakarta.apache.org>
Date: Thursday, May 30, 2002 6:19 PM
Subject: Re: Generating PDF - this way?


>I generate pdfs with velocity which generates an xml file with tags
>specific to the iText (www.itext.org) library and then use that to
>generate the pdfs...
>try it out...simple and works great ....
>
>Saimon
>
>Geir Magnusson Jr. wrote:
>
>>Sounds reasonable.  However, typing all that fo: stuff would get tedious.
>>
>>It would be great to have a PDF/FOP VM lib.  I would really like to have
>>this in DVSL (and willing to pay someone to work on it - if interested,
>>contact me privately...)
>>
>>Geir
>>
>>
>>On 5/30/02 4:00 PM, "Peter Romianowski" <megapero@gmx.de> wrote:
>>
>>
>>
>>>Hi there,
>>>
>>>I just wanted to verify that I am not doing something
>>>really weird. I generate PDFs using Velocity and apache's
>>>FOP (from xml.apache.org). First I use Velocity to create
>>>the FO-Input for the FOP.
>>>A template would look like this:
>>>
>>>... fop stuff ...
>>>
>>><fo:block font-size="18pt"
>>>        font-family="sans-serif"
>>>        line-height="24pt"
>>>        space-after.optimum="15pt"
>>>        background-color="blue"
>>>        color="white"
>>>        text-align="center"
>>>        padding-top="3pt">
>>>
>>>  #if ($age >= 18)
>>>      Welcome $salutation $lastname
>>>  #else
>>>      Sorry, lad.
>>>  #end
>>></fo:block>
>>>
>>>... fop ...
>>>
>>>This I render to a StringWriter with Velocity and using
>>>the result as Input for the FOP, which then generates
>>>the PDF.
>>>
>>>The great benefit for me is that I can use velocity :)
>>>Are there other ways to create PDFs using velocity?
>>>The speed is ok.
>>>
>>>
>>
>>
>>
>>
>
>
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>--
>To unsubscribe, e-mail:
<mailto:velocity-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail:
<mailto:velocity-user-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic