cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bert Van Kets <>
Subject Re: Creating PDF with graphics
Date Thu, 24 Oct 2002 14:55:56 GMT
You should do 3 things:
1. Check the PDF docs and see if it understands SVG.  If so, send SVG and 
not a bitmap.  The quality of teh image will be better
2. Check out the SVG docs at 
to see how you create SVG docs.
3. Check the xsl:fo documentation to see how you need to 
create an xsl:fo document

The absolute URL is needed to get FOP to import the image.  It has nothing 
to do with an external source or not, just that this is a bug in FOP!

Unfortunately there are no samples in Cocoon where a PDF contains 
dynamically generated images.


At 16:33 24/10/2002 +0200, you wrote:
>Bert, a good idea, using graphics from an external source.
>I think, I will use it too. But what I need is a way to
>draw graphics (like the SVG-sample) inside my text
>document, to draw fancy borders or other layout elements.
>SVG seems to be good for this, the SVG sample is
>impressive! I found some good looking SVG samples in the
>net. But I don't know, how to include the SVG elements into
>my stylesheet or whereever, to make them appear in the PDF
>Are there any samples for Cocoon where I can learn how to
>do this? I'm almost new to Cocoon, so I think, sample files
>or applications will be the best to learn how this works.
> wrote at
>Thu, 24 Oct 2002 15:57:44 +0200:
> >Yes, you can combine both.  Use xsl:fo to insert the
>image, but make sure
> >you call it by using the absolute URL (including
> >All you need to do then is create a pipeline that
>generates the image when
> >requesting it.
>Michael Fridrich
>------------------------------------------ Info -------------
> >Sind Sie bei einer guenstigen Krankenversicherung versichert?
>Hier finden Sie einen Vergleich privater Krankenversicherungen
>fuer diverse Berufsgruppen erwartet Sie hier:
>*** sent through     FREE e-mail
>Please check that your question  has not already been answered in the
>FAQ before posting.     <>
>To unsubscribe, e-mail:     <>
>For additional commands, e-mail:   <>

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message