From: Bob Stayton Date: Sun, 8 Jan 2012 23:43:19 +0000 (+0000) Subject: Refactored the 'process.image' template to create modular X-Git-Tag: release/1.79.1~6^2~594 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab8c0d57ef097085da71455f7d48c33e44fd9b16;p=docbook-dsssl Refactored the 'process.image' template to create modular templates for each attribute so they can be individually customized. Also merged in support for embedded svg and mml content so they can have image attributes too. --- diff --git a/xsl/fo/graphics.xsl b/xsl/fo/graphics.xsl index 151acd27c..cc03ac13f 100644 --- a/xsl/fo/graphics.xsl +++ b/xsl/fo/graphics.xsl @@ -135,166 +135,305 @@ + + + 0 + 0 + 0 + 0 + + 1 + 1 + 0 + + + + + + 0 + 1.0 + + + + 1.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + auto + + + + + + + + + + + + + + + + auto + + + + + + auto + + + + + + + + + + auto + + + + + + + + + auto + + + + + + + + + + + + % + + scale-to-fit + auto + + + + + + + + + auto + + + + + + + + + + + + % + + scale-to-fit + auto + + + + + + + + + + before + center + after + auto + + + + - - 0 - 0 - 0 - 0 - - 1 - 1 - 0 - + - - 0 - 1.0 - - - - 1.0 - + - - - - - - - - - - - - - - + - - - - - - + + + + + + + + - - + + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + - - - auto - - - - - - - - - - - - - - - - auto - - + + + - - - auto - - - - - - - - - - auto - - + + + - - - auto - - - - - - - - - - - - % - - scale-to-fit - auto - - + + + + fo:instream-foreign-object + + + fo:instream-foreign-object + + + fo:external-graphic + + + - - - auto - - - - - - - - - - - - % - - scale-to-fit - auto - - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -304,23 +443,28 @@ - + - + - + - - before - center - after - auto - + - + + + + + + + + + + + @@ -490,28 +634,27 @@ + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + diff --git a/xsl/fo/math.xsl b/xsl/fo/math.xsl index 186440a01..7894d02b1 100644 --- a/xsl/fo/math.xsl +++ b/xsl/fo/math.xsl @@ -39,36 +39,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -