Re: HTML image map transcoder: great but some problems

2003-12-04 Thread Robert Casties
Yoganarasimha G wrote: HI Robert, can u pl send me an example how to get the html image map from an svg doc? Currently the road is rather stony and requires some Java skills :-) You have to take the code from Torstens mail http://koala.ilog.fr/batik/mlists/batik-dev/archives/msg03068.html and

RE: HTML image map transcoder: great but some problems

2003-12-03 Thread Yoganarasimha G
transcoder: great but some problems First of all, thanks to the Batik people and Torsten Knodt for Batik in general and the experimental image map transcoder in special! I had already been wracking my mind about how to get HTML image maps out of Batik when I found Torstens patch in his mail from 2

Re: HTML image map transcoder: great but some problems

2003-12-02 Thread Thomas DeWeese
Robert Casties wrote: Thomas DeWeese wrote: Should I rather start with the "root" field from SVGAbstractTranscoder after its transcode() method? It seems to do all the necessary preparations. The problem is that the 'root' field is the GVT tree. The existing code walks the DOM tree, so unle

Re: HTML image map transcoder: great but some problems

2003-12-02 Thread Robert Casties
Thomas DeWeese wrote: Should I rather start with the "root" field from SVGAbstractTranscoder after its transcode() method? It seems to do all the necessary preparations. The problem is that the 'root' field is the GVT tree. The existing code walks the DOM tree, so unless you want to seriou

Re: HTML image map transcoder: great but some problems

2003-12-02 Thread Thomas DeWeese
Robert Casties wrote: Thomas DeWeese wrote: Essentially you want to do everything in batik.transcoder.SVGAbstractTranscoder.transcode method (you may want to subclass from it) The important thing is that 'isDynamic' must be true otherwise the 'getGraphicsNode' call will fail (you may not want

Re: HTML image map transcoder: great but some problems

2003-12-02 Thread Robert Casties
Thomas DeWeese wrote: Essentially you want to do everything in batik.transcoder.SVGAbstractTranscoder.transcode method (you may want to subclass from it) The important thing is that 'isDynamic' must be true otherwise the 'getGraphicsNode' call will fail (you may not want to run onload scripts!)

Re: HTML image map transcoder: great but some problems

2003-12-02 Thread Thomas DeWeese
Robert Casties wrote: Thomas DeWeese wrote: Yah, it looks like the basic approach would have significant problems doing this. The biggest issue is the 'piecemeal' building of the tree: class PathGenerator: for (PathIterator path = builder.build (ctx,e).getOutline()[...] If the code built t

Re: HTML image map transcoder: great but some problems

2003-12-02 Thread Robert Casties
Thomas DeWeese wrote: Robert Casties wrote: First of all, thanks to the Batik people and Torsten Knodt for Batik in general and the experimental image map transcoder in special! I had already been wracking my mind about how to get HTML image maps out of Batik when I found Torstens patch in his

Re: HTML image map transcoder: great but some problems

2003-12-01 Thread Thomas DeWeese
Robert Casties wrote: First of all, thanks to the Batik people and Torsten Knodt for Batik in general and the experimental image map transcoder in special! I had already been wracking my mind about how to get HTML image maps out of Batik when I found Torstens patch in his mail from 2 September

HTML image map transcoder: great but some problems

2003-12-01 Thread Robert Casties
First of all, thanks to the Batik people and Torsten Knodt for Batik in general and the experimental image map transcoder in special! I had already been wracking my mind about how to get HTML image maps out of Batik when I found Torstens patch in his mail from 2 September 2002. (http://koala.il