You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by fe...@apache.org on 2008/01/24 21:21:05 UTC

svn commit: r614973 - /forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl

Author: ferdinand
Date: Thu Jan 24 12:21:04 2008
New Revision: 614973

URL: http://svn.apache.org/viewvc?rev=614973&view=rev
Log:
Increased spacing below section headings and added padding around boxed headings for a smoother look

Modified:
    forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl

Modified: forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl
URL: http://svn.apache.org/viewvc/forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl?rev=614973&r1=614972&r2=614973&view=diff
==============================================================================
--- forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl (original)
+++ forrest/branches/UpdateFOPto094/main/webapp/skins/common/xslt/fo/document-to-fo.xsl Thu Jan 24 12:21:04 2008
@@ -513,7 +513,7 @@
             font-size="{$size}pt"
             font-weight="bold"
             space-before="12pt"
-            space-after="4pt">
+            space-after="8pt">
             <xsl:call-template
                 name="insertPageBreaks" />
             <xsl:if
@@ -522,6 +522,14 @@
                     name="background-color">
                     <xsl:value-of
                         select="$heading-color" />
+                </xsl:attribute>
+                <xsl:attribute
+                    name="padding-left">
+                    3pt
+                </xsl:attribute>
+                <xsl:attribute
+                    name="padding-top">
+                    2pt
                 </xsl:attribute>
             </xsl:if>
             <xsl:attribute