[EMAIL PROTECTED] wrote:
Hi Jeferson,
Jeferson <[EMAIL PROTECTED]> wrote on 03/12/2007 01:52:06 PM:
The problem is: i need that Batik do it when i convert from a Java2D
instead of do manually.
The way to do this is to build your document in combination
with the SVGGraphics2D class.
The function getRoot(Element parent) will append everything
drawn since the last call to getRoot as children of 'parent'.
So if you create your 'a' elements with the DOM (doc.createElementNS)
you can draw the items you want to have a link and then append
them under your 'a' element(s).
I dont know if this is possible since that i havent found any solution
so far, but it could be like add a link to a shape and when i convert to
svg Batik will generate the snippet as you sad automatically.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This is a good solution, but it's like develop with JavaScript. Add
anchors to an element could be a future implementation for Batik since
that it would be easier to develop svg for web applications. Thanks for
help.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]