[prev in list] [next in list] [prev in thread] [next in thread]
List: fop-user
Subject: SV: dynamic image in PDF
From: "Magnus Rydin" <magnus.rydin () orionserver ! com>
Date: 2002-02-28 7:29:58
[Download RAW message or body]
I think he wanted to use a javax.activation.DataSource or equalent to be
able to write an image held in memory directly without storing it, but I
could be wrong :)
WR
-----Ursprungligt meddelande-----
Från: Jeremias Maerki [mailto:jeremias.maerki@outline.ch]
Skickat: den 28 februari 2002 08:20
Till: fop-user@xml.apache.org
Ämne: Re: dynamic image in PDF
> I have a servlet which creates imagery. I want to embed this in a PDF
> document and I've been playing around with FOP in JSP. I can get PDF
> generated but only on static image references, using external-
> graphic. What I need to know is - is there anyway of generating the
> image dynamically, with the reference to the servlet embedded in the
> .fo ?
>
> I can see there is a fo:instream- foreign-object but the examples just
> show examples of SVG. Is there anyway to extend this and if so,
> doesanyone have examples ?
I haven't tested what you do, but I think you should be able to specify
a full URL with parameters and all in the "src" attribute of
"external-graphic" that will call your servlet to get the image. Or do
you get any error messages?
Cheers,
Jeremias Märki
mailto:jeremias.maerki@outline.ch
OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Fon +41 41 317 20 20 - Fax +41 41 317 20 29
Internet http://www.outline.ch
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic