forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r178152 - /forrest/trunk/main/webapp/skins/common/xslt/fo/document2fo.xsl
Date Tue, 24 May 2005 11:05:23 GMT
Author: rgardler
Date: Tue May 24 04:05:22 2005
New Revision: 178152

URL: http://svn.apache.org/viewcvs?rev=178152&view=rev
Log:
increase spacing between sub lists and folloing list item, make page numbers and titles smaller
than main body text

Modified:
    forrest/trunk/main/webapp/skins/common/xslt/fo/document2fo.xsl

Modified: forrest/trunk/main/webapp/skins/common/xslt/fo/document2fo.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/skins/common/xslt/fo/document2fo.xsl?rev=178152&r1=178151&r2=178152&view=diff
==============================================================================
--- forrest/trunk/main/webapp/skins/common/xslt/fo/document2fo.xsl (original)
+++ forrest/trunk/main/webapp/skins/common/xslt/fo/document2fo.xsl Tue May 24 04:05:22 2005
@@ -272,6 +272,7 @@
       <!-- don't list page number on first page if it's contents is just the TOC -->
       <xsl:if test="not($toc-max-depth > 0 and $page-break-top-sections)">
       <fo:block
+        font-size="70%"
         text-align="start">
           <!-- insert i18n stuff here -->
         Page <fo:page-number/>
@@ -282,6 +283,7 @@
 
     <fo:static-content flow-name="even-header">
       <fo:block
+        font-size="70%"
         text-align="end"
         font-style="italic">
         <xsl:value-of select="header/title"/>
@@ -296,6 +298,7 @@
         <xsl:apply-templates select="footer"/>
       </fo:block>
       <fo:block
+        font-size="70%"
         text-align="end">
         <!-- insert i18n stuff here -->
         Page <fo:page-number/>
@@ -305,6 +308,7 @@
 
     <fo:static-content flow-name="odd-header">
       <fo:block
+        font-size="70%"
         text-align="start"
         font-style="italic">
         <xsl:value-of select="header/title"/>
@@ -319,6 +323,7 @@
         <xsl:apply-templates select="footer"/>
       </fo:block>
       <fo:block
+        font-size="70%"
         text-align="start">
         <!-- insert i18n stuff here -->
         Page <fo:page-number/>
@@ -531,6 +536,9 @@
 
   <xsl:template match="ol/li">
     <fo:list-item>
+      <xsl:if test="not(following-sibling::li[1])">
+        <xsl:attribute name="space-after">6pt"</xsl:attribute>
+      </xsl:if>
       <fo:list-item-label
         end-indent="label-end()">
         <fo:block>
@@ -564,6 +572,9 @@
 
   <xsl:template match="ul/li">
     <fo:list-item>
+      <xsl:if test="not(following-sibling::li[1])">
+        <xsl:attribute name="space-after">6pt</xsl:attribute>
+      </xsl:if>
       <fo:list-item-label end-indent="label-end()">
         <fo:block>&#x2022;</fo:block>
       </fo:list-item-label>



Mime
View raw message