Alexander Krebs wrote:
I want to include an image (JPEG) in fop which is dynamically generated by a 
java-class.
I don't want to store the image somewhere in the filesystem or generate it with 
a servlet.

Using a servlet or a temporary file are still the most promising options. Other approaches are likely to be more messy. Note you can't leverage SVG (whether embedded or external) begause JPGs have to be referenced by an URL there too. Possibilities: - Hack ImageFactory to use your Java class upon encountering a custom URI scheme. - Implement an URL content handler to be used upon encountering a custom URL scheme (read the javaguru article) - Implement a FOP extension element which does what you want. - Implement a custom instream-foreign-object which takes the Java class name generating the JPG or the Base64 encoded data or whatever.

3. make a Java-call out of the XSL and give the response to fop - is this possible?

I have no idea what you mean.

J.Pietschmann



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to