> -----Original Message----- > From: Cameron Ingram [mailto:[EMAIL PROTECTED] > > I am trying to display images that are stored in our database ,not on > the disk, in a PDF. I found one response on the mailing list that > suggested creating a custom URL handler. I haven't had to much success > with that. Is that the way your are supposed to display the images or is > there perhaps a better way to do it. Is there any one else who might > have some helpful information on how to do this, some code examples or > another place to look? >
A custom URL handler does indeed seem necessary for picking them up from a db. If you could change the db storage to, say, a zip or jar, then there's the possibility of a minor hack helping you out... (try searching the fop-user archives, sometime end October 2002, a question of this sort --extracting images from a jar-file - was posed, and the OP made an interesting little change to the FOP source to deal with it) In what format are they stored BTW? (If it's SVG, for instance, you could try using an XSLT SQL extension function while creating the FO to generate an fo:instream-foreign-object node in the result doc before feeding it to the renderer) Hope this helps! Cheers, Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
