xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kerschbaum Michael " <m.kerschb...@pke.at>
Subject Xlink Problem
Date Wed, 06 Aug 2008 11:54:08 GMT
Hello,
 
I have still some problems. Currently with links in an SVG File. When we define a link via
xlink into a nother svg File, sometimes the area for this link is not recognized as link (normally
the mouse courser changed, and when you click on the area the link is exectued via the openLink
method in the SVGUserAgent interface)
 
I looks like that sometimes the Elements in the SVG Tree does not react on Events . e.g. 
 
SVGConstants.SVG_MOUSEOUT_EVENT_TYPE
SVGConstants.SVG_MOUSEOVER_EVENT_TYPE
 
because when this happens the handleEvent Method is never called.
 
We defined the link ... like
 
....
<g id="group4975-140" v:layerMember="0">
   
   <g id="group4976-141" v:layerMember="0">
    
    <rect x="0" y="597" width="326.25" height="63" class="st15" />
    <a xlink:href="LAGEPLAN.svg" xmlns:xlink="http://www.w3.org/1999/xlink">
     <g id="shape4978-144" transform="translate(256.5,-33.3529)">
 
...
 
When this happens i still get MouseEvents on my JSVGComponent.... but no events from org.w3c.dom.events.EventListener...
?! There is no error in the console and no exception is thrown ?!...
 
Mit freundlichen Grüßen Michael Kerschbaum

 

DI (FH) Michael Kerschbaum

PKE Electronics AG

Zentrale Wien / Entwicklung

Computerstraße 6

A - 1101 Wien

TEL: +43 (0) 50 150 - 1210

m.kerschbaum@pke.at

www.pke.at <http://www.pke.at/>  

 

Aktiengesellschaft mit dem Sitz in Wien

Firmenbuchnummer 103264i

HG Wien, DVR 0159701

Johann Helf - Vorsitzender des Vorstandes

Bruno Faustka - Mitglied des Vorstandes

Christian Prelz - Vorsitzender des Aufsichtsrates

 

Mime
View raw message