modify svg or svg dom object?

2002-07-23 Thread still
Hi all: Once a SVG file(.svg) is generated,can the user modify the SVG file via script event? So the next time when the svg file is displayed,the user will not need to modify the svg file anymore. Eg. There is a rect displayed on the svg browser, and then the user dragged the rect to another place

WG: how to use Batik 1.1.1 for parsing ur css?

2002-07-23 Thread sudha.
Hi everybody has anybody used apache batik-1.1.1 for parsing your css? I have downloaded and using Parser class of Batik as parser in my application. now I got many many doubts here. when I call this parser I get no errors... I need to know how does the parsing happens. where does the parse

RE: add script functions and event via batik api--how

2002-07-23 Thread Thomas E Deweese
> "JA" == J Aaron Farr <[EMAIL PROTECTED]> writes: JA> --- Thomas E Deweese <[EMAIL PROTECTED]> wrote: >> If you want to handle the event in Java, you can add a Java >> listener to the SVG Elements in the DOM directly. JA> Is there an example somewhere of how to do this in java? That JA>

XLink Errors

2002-07-23 Thread J Aaron Farr
What is the current status of linking in the Batik 1.5 beta? I have the following anchor tag in my SVG document: http://myserver.com";> Title I have created a LinkActionListener which, amongst other things, outputs the URI of the event to the command line like this: public void linkActivate

RE: add script functions and event via batik api--how

2002-07-23 Thread J Aaron Farr
--- Thomas E Deweese <[EMAIL PROTECTED]> wrote: > > "s" == still <[EMAIL PROTECTED]> writes: > > s> It really works,and yes it is better to put the script in the cdata > s> section. But the problem is how to add a event(eg.a mousedown > s> event) to the element I create to invoke the scrip

How to determine the smaller rectangle containing the info to display?

2002-07-23 Thread Thomas E Deweese
> "BF" == Bertrand Fontaine <[EMAIL PROTECTED]> writes: BF> Hello! We are using Batik/SVG to dynamically generate images BF> displaying text. We are currently creating a SVG template that we BF> load using the appropriate Batik API, we replace the text in the BF> template by the text desired

Problem when run JSVGCancas on applet

2002-07-23 Thread Thomas E Deweese
> "KH" == Kathy Huang <[EMAIL PROTECTED]> writes: KH> I got my JSVGCanvas application working just fine. Now I am KH> trying to turn it into an applet. I replaced the main function KH> with an init function and created some HTML and use appletviewer KH> to display it. But I got error as fo

Batik, SVG and graphical nodes

2002-07-23 Thread Thomas E Deweese
> "AK" == Amar Kulshrestha <[EMAIL PROTECTED]> writes: AK> I am fairly new to SVG and Batik and was wondering if the AK> following was possible: AK> I need to create a Java application using swing and I need to AK> track nodes to which there may be multiple "lines" terminating at A

RE: add script functions and event via batik api--how

2002-07-23 Thread Thomas E Deweese
> "s" == still <[EMAIL PROTECTED]> writes: s> It really works,and yes it is better to put the script in the cdata s> section. But the problem is how to add a event(eg.a mousedown s> event) to the element I create to invoke the script function I s> defined as following? s> onmousedown="sho

How to determine the smaller rectangle containing the info to display?

2002-07-23 Thread Bertrand Fontaine
Hello! We are using Batik/SVG to dynamically generate images displaying text. We are currently creating a SVG template that we load using the appropriate Batik API, we replace the text in the template by the text desired, and we then use a transcoder to save the result in an image file. What w

Re: svg whiteboard test failed

2002-07-23 Thread Vincent Hardy
Stjeel wrote: > Haha,I have found the solution: just change the > > old: var path = root.createElement( 'path' ); > > >> > > new: var path = root.createElementNS( > http://www.w3.org/2000/svg,'path' ); > > the development of the batik is just a nightmare > Sorry you feel th

Re: Batik 1.1 Crash...Fixed...

2002-07-23 Thread Marcus Brubaker
Ok, well, I figured out the problem. Basically, I didn't have a !DOCTYPE nodeI'm not sure why this would cause a segmentation fault, but apparently it did. And even more confusing why it would cause such a fault on one document but not another one. Anyway, I'm satisfied...sorry for this oth

Why I always get: java.lang.NoClassDefFoundError???

2002-07-23 Thread Kathy Huang
Hi, I figure out the problem that I posted on last friday. Thanks! But I still have problem to display .svg document either with

Re: compiling svg's - solved

2002-07-23 Thread Eric Smith
A combination of j2re1.4.1 and _not_ using my desired java option of -Djava.awt.headless=true results in standard and encoded raster graphic svg's successfully rendered to pdf . Also embedding an encoded grapic as an image node in an existing svg file renders fine with fop. fop rocks :) PS Ins