forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: rev 76043 - forrest/trunk/plugins/text-output/resources/stylesheets/txt
Date Tue, 16 Nov 2004 22:33:15 GMT
Author: rick
Date: Tue Nov 16 14:33:14 2004
New Revision: 76043

Modified:
   forrest/trunk/plugins/text-output/resources/stylesheets/txt/document2txt.xsl
Log:
Always pass in the $document-width to the emit() template.  Allows for
document width to be specified as a single variable.  May be able to
define this width in the future in the skinconf.



Modified: forrest/trunk/plugins/text-output/resources/stylesheets/txt/document2txt.xsl
==============================================================================
--- forrest/trunk/plugins/text-output/resources/stylesheets/txt/document2txt.xsl	(original)
+++ forrest/trunk/plugins/text-output/resources/stylesheets/txt/document2txt.xsl	Tue Nov 16
14:33:14 2004
@@ -106,6 +106,7 @@
     <xsl:call-template name="emit">
       <xsl:with-param name="text" select="$para"/>
       <xsl:with-param name="indent" select="$level * $indent-per-level"/>
+      <xsl:with-param name="width" select="$document-width"/>
     </xsl:call-template>
   </xsl:template>
 
@@ -127,6 +128,7 @@
     <xsl:call-template name="emit">
       <xsl:with-param name="text" select="$para"/>
       <xsl:with-param name="indent" select="$level * $indent-per-level"/>
+      <xsl:with-param name="width" select="$document-width"/>
     </xsl:call-template>
   </xsl:template>
 
@@ -156,6 +158,7 @@
     <xsl:call-template name="emit">
       <xsl:with-param name="text" select="$para"/>
       <xsl:with-param name="indent" select="$level * $indent-per-level"/>
+      <xsl:with-param name="width" select="$document-width"/>
     </xsl:call-template>
 
   </xsl:template>
@@ -181,6 +184,7 @@
     <xsl:call-template name="emit">
       <xsl:with-param name="text" select="$item"/>
       <xsl:with-param name="indent" select="$level * $indent-per-level"/>
+      <xsl:with-param name="width" select="$document-width"/>
     </xsl:call-template>
   </xsl:template>
   
@@ -197,6 +201,7 @@
     <xsl:call-template name="emit">
       <xsl:with-param name="text" select="$item"/>
       <xsl:with-param name="indent" select="$level * $indent-per-level"/>
+      <xsl:with-param name="width" select="$document-width"/>
     </xsl:call-template>
 
   </xsl:template>
@@ -318,6 +323,7 @@
     <xsl:call-template name="emit">
       <xsl:with-param name="text" select="$para"/>
       <xsl:with-param name="indent" select="$level * $indent-per-level"/>
+      <xsl:with-param name="width" select="$document-width"/>
     </xsl:call-template>
 
     <xsl:call-template name="lineOf">

Mime
View raw message