You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Matthias Zumstein <ne...@gmx.de> on 2001/03/23 09:18:05 UTC

Generating Link's with the SVG2DGenerator

Hello,

can I generate link's inside SVG-document's with Java and the
SVG2DGenerator? Creating graphics is no problem, but I have no idea how to create link's
with Java.

Matthias Zumstein

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.de


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Re: Generating Link's with the SVG2DGenerator

Posted by Vincent Hardy <vh...@eng.sun.com>.
Matthias,

The Graphics2D abstract class does not have a notion of link, so the 
SVGGraphics2D concrete implementation does not generate anything that
has the anchor tag <a>.

However, you could modify the generated SVG content and add 
links where you think fit, using the DOM API.

I hope this answers your question.
Vincent.

Matthias Zumstein wrote:
> 
> Hello,
> 
> can I generate link's inside SVG-document's with Java and the
> SVG2DGenerator? Creating graphics is no problem, but I have no idea how to create link's
> with Java.
> 
> Matthias Zumstein
> 
> --
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.de
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org