Great! Thanks very much. Cheers, Danny.
--- Danny Ayers <stuff> http://www.isacat.net </stuff> Alternate email (2001) : [EMAIL PROTECTED] [EMAIL PROTECTED] >-----Original Message----- >From: Thierry Kormann [mailto:[EMAIL PROTECTED]] >Sent: 01 January 2002 17:11 >To: Batik Users; Danny Ayers >Subject: Re: SVGCanvas & CSS > > >On Tuesday 25 December 2001 13:00, Danny Ayers wrote: >> Hi, >> How do I get an external CSS to apply to an SVGCanvas component? >> (adding the ref to the SVGDOM doc serialises out fine, but I >can't seem to >> get the sheet parsed & computed within the Swing components) >> > >You can implement your own org.apache.batik.swing.svg.SVGUserAgent. The >getUserStyleSheetURI() method has to return the URI of the stylesheet you >want to apply on documents. > >Finally, creates your SVGCanvas using this SVGUserAgent. > >Hope that helps, >Thierry. > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]