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 Ralf Siegel <ra...@audiofarm.de> on 2003/08/22 22:39:47 UTC

CSS & TranscodingHints

Batik's ImageTranscoder supports setting a user stylesheet:

ImageTranscoder.KEY_USER_STYLESHEET_URI

http://xml.apache.org/batik/rasterizerTutorial.html

Is there a supported hint I have overlooked to pass a styleheet as string 
rather than providing a URI?

I kinda need to auto-generate a tiny CSS at runtime which will override 
some values and which is not intended to be saved as file.

ralf ...


-------------------------------------------------------------
Ralf Siegel - Freelance Developer
Recommended Site & Listening: http://forgetcassettes.com
contact_site: mailto:ralf@audiofarm.de
-------------------------------------------------------------



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


Re: CSS & TranscodingHints

Posted by Thomas DeWeese <Th...@Kodak.com>.
Ralf Siegel wrote:
> Batik's ImageTranscoder supports setting a user stylesheet:
> 
> ImageTranscoder.KEY_USER_STYLESHEET_URI
> 
> http://xml.apache.org/batik/rasterizerTutorial.html
> 
> Is there a supported hint I have overlooked to pass a styleheet as 
> string rather than providing a URI?
> 
> I kinda need to auto-generate a tiny CSS at runtime which will override 
> some values and which is not intended to be saved as file.

     There is no current hint.  Contributions are always welcome :)

     It would not be so bad to write the CSS to a temp file.
At least in this context you know when you can remove the file
(once the transcode completes).



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