Date: 2004-07-12T12:14:47 Editor: TonyCollen <[EMAIL PROTECTED]> Wiki: Cocoon Wiki Page: SVGSerializerKeys URL: http://wiki.apache.org/cocoon/SVGSerializerKeys
no comment Change Log: ------------------------------------------------------------------------------ @@ -8,7 +8,26 @@ === Your basic skills === * You can edit Cocoon's sitemap file -=== Technical prerequisites === +=== How to use these keys === +You can see a basic usage of the key in Cocoon's sitemap file: + +<map:serializer logger="sitemap.serializer.svg2jpeg" mime-type="image/jpeg" name="svg2jpeg" src="org.apache.cocoon.serialization.SVGSerializer"> + <parameter name="quality" type="float" value="0.5"/> +</map:serializer> + + +=== Key List === +The following keys are available in either usage of the SVGSerializer (jpeg or png) They were taken from the Batik Javadocs. + +|| Key Name || Type || Description || Default || +|| WIDTH || Float || The desired width of the image || Width of the topmost SVG element || +|| HEIGHT || Float || The desired height of the image || Height of the topmost SVG element || +|| MAX_WIDTH || Float || Max width of the image || Width of the topmost SVG element || +|| MAX_HEIGHT || Float || Max height of the image || Height of the topmost SVG element || +|| LANGUAGE || String || Specify the preferred language of the image || en || +|| MEDIA || String || Default media to use with CSS || screen || +|| DEFAULT_FONT_FAMILY || String || Controls the default value used by the CSS engine for the font-family property when that property is unspecified.Specify the media to use with CSS. || "Arial, Helvetica, sans-serif" || + === Links to other information sources === * [http://xml.apache.org/batik/javadoc/index.html Batik JavaDocs]
