forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ferdin...@apache.org
Subject svn commit: r627762 - in /forrest/branches/UpdateFOPto094/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets: footerinfo.xsl pdfoutline.xsl
Date Thu, 14 Feb 2008 14:45:34 GMT
Author: ferdinand
Date: Thu Feb 14 06:45:31 2008
New Revision: 627762

URL: http://svn.apache.org/viewvc?rev=627762&view=rev
Log:
Reformatted documents with xmlformat and forrest configuration

Modified:
    forrest/branches/UpdateFOPto094/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/footerinfo.xsl
    forrest/branches/UpdateFOPto094/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/pdfoutline.xsl

Modified: forrest/branches/UpdateFOPto094/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/footerinfo.xsl
URL: http://svn.apache.org/viewvc/forrest/branches/UpdateFOPto094/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/footerinfo.xsl?rev=627762&r1=627761&r2=627762&view=diff
==============================================================================
--- forrest/branches/UpdateFOPto094/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/footerinfo.xsl
(original)
+++ forrest/branches/UpdateFOPto094/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/footerinfo.xsl
Thu Feb 14 06:45:31 2008
@@ -46,16 +46,16 @@
     <fo:block-container font-style="italic" absolute-position="absolute"
       left="0pt" bottom="150pt" height="15pt"
       font-size="8pt">
-        <!-- move copyright down if there is a legal notice 
+<!-- move copyright down if there is a legal notice 
               (thus keeping it on same line as line number) -->
-        <xsl:attribute
+      <xsl:attribute
             name="top">
-            <xsl:choose>
-                <xsl:when
+        <xsl:choose>
+          <xsl:when
                     test="/site/document/footer/legal">22</xsl:when>
-                <xsl:otherwise>6</xsl:otherwise>
-            </xsl:choose>
-        </xsl:attribute>  
+          <xsl:otherwise>6</xsl:otherwise>
+        </xsl:choose>
+      </xsl:attribute>
       <xsl:if test="not($url)">
         <fo:block text-align="center" color="lightgrey">
           <xsl:value-of select="$text"/>

Modified: forrest/branches/UpdateFOPto094/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/pdfoutline.xsl
URL: http://svn.apache.org/viewvc/forrest/branches/UpdateFOPto094/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/pdfoutline.xsl?rev=627762&r1=627761&r2=627762&view=diff
==============================================================================
--- forrest/branches/UpdateFOPto094/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/pdfoutline.xsl
(original)
+++ forrest/branches/UpdateFOPto094/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/pdfoutline.xsl
Thu Feb 14 06:45:31 2008
@@ -19,45 +19,45 @@
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:fo="http://www.w3.org/1999/XSL/Format"
     version="1.0">
-    <xsl:template
+  <xsl:template
         match="document"
         mode="outline">
-        <fo:bookmark-tree>
-        <xsl:apply-templates
+    <fo:bookmark-tree>
+      <xsl:apply-templates
             select="body/section"
             mode="outline" />
-        </fo:bookmark-tree>
-    </xsl:template>
-    <xsl:template
+    </fo:bookmark-tree>
+  </xsl:template>
+  <xsl:template
         match="section"
         mode="outline">
-        <fo:bookmark>
-            <xsl:attribute
+    <fo:bookmark>
+      <xsl:attribute
                 name="internal-destination">
-                <xsl:choose>
-                    <xsl:when
+        <xsl:choose>
+          <xsl:when
                         test="normalize-space(@id)!=''">
-                        <xsl:value-of
+            <xsl:value-of
                             select="@id" />
-                    </xsl:when>
-                    <xsl:otherwise>
-                        <xsl:value-of
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of
                             select="generate-id()" />
-                    </xsl:otherwise>
-                </xsl:choose>
-            </xsl:attribute>
-            <fo:bookmark-title>
-                <xsl:number
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:attribute>
+      <fo:bookmark-title>
+        <xsl:number
                     format="1.1.1.1.1.1.1"
                     count="section"
                     level="multiple" />
-                <xsl:text> </xsl:text>
-                <xsl:value-of
+<xsl:text> </xsl:text>
+        <xsl:value-of
                     select="normalize-space(title)" />
-            </fo:bookmark-title>
-            <xsl:apply-templates
+      </fo:bookmark-title>
+      <xsl:apply-templates
                 select="section"
                 mode="outline" />
-        </fo:bookmark>
-    </xsl:template>
+    </fo:bookmark>
+  </xsl:template>
 </xsl:stylesheet>



Mime
View raw message