My overall requirement is that I have SVG graphic documents that I want to render to PDF using an XSL-FO engine that supports rendering of SVGs but does not support hyperlinking from SVGs (that is, does not implement the <a> element within SVGs).
I can get the link effect in FO by overlaying absolutely-positioned blocks that are hyperlink anchors over the graphic objects in the rendered SVG but I have to know where a particular graphic object will actually be rendered. I'm trying to figure out how to do this with Batik--I assume it can be done but I'm not yet seeing how to do so from looking at the Javadocs and whatnot. Note that I don't want to do any visual rendering of the SVG--I just need to get the rendered extent of the graphic objects in the SVG. If I understand the Batik packages I should be able to do this with just the GVT layer. But I'm not seeing how to go from an SVG document to a GVT tree directly. My questions: 1. Is my overall approach sound or have I completely misunderstood how to go about this? 2. Can someone point me to code or the specific classes that will help get over this startup hurdle? Thanks, Eliot Kimber Innodata Isogen Eliot Kimber Austin, TX __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
