Jeremias Maerki wrote:

You're not doing anything wrong. As far as I can tell images are not
implemented in the SVG renderer. You'd have to finish that part yourself.
See:
http://cvs.apache.org/viewcvs.cgi/xml-fop/src/org/apache/fop/render/svg/SVGRenderer.java?hideattic=0&rev=1.3.2.9&only_with_tag=fop-0_20_2-maintain&view=markup


Suddenly this seems pretty hard to do. At first impressions I would use FopImage.getURL(), then try to generate the SVG so that the right attributes are on the image. That way I'd get an externally linked image in the SVG, but if it were easy it would have been done already.

I assume there is a workaround for this. Perhaps I can embed an SVG in my XSL:FO, and have that SVG fragment reference the image? Then it would presumably get copied verbatim into the SVG version of the document.

Daniel


-- Daniel Noll

NUIX Pty Ltd
Level 8, 143 York Street, Sydney 2000
Phone: (02) 9283 9010
Fax:   (02) 9283 9020

This message is intended only for the named recipient. If you are not
the intended recipient you are notified that disclosing, copying,
distributing or taking any action in reliance on the contents of this
message or attachment is strictly prohibited.


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



Reply via email to