lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] (no subject)


From: Greg Chicares
Subject: [lmi-commits] (no subject)
Date: Thu, 28 Jul 2016 11:02:33 +0000 (UTC)

branch: master
commit 55c9fbee0f209b0627a857ea25dc3baf792eab40
Author: Gregory W. Chicares <address@hidden>
Date:   Fri Jul 22 16:20:39 2016 +0000

    Fix defect introduced 20081220T1903: incorrect XSL
    
    The number of columns is 11, not 7+7. See:
      https://lists.nongnu.org/archive/html/lmi/2009-05/msg00024.html
---
 reg_d_individual.xsl |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/reg_d_individual.xsl b/reg_d_individual.xsl
index ef790e9..9c08c55 100644
--- a/reg_d_individual.xsl
+++ b/reg_d_individual.xsl
@@ -917,7 +917,12 @@
               <fo:table-cell number-columns-spanned="7">
                 <fo:block/>
               </fo:table-cell>
-              <fo:table-cell number-columns-spanned="7">
+              <fo:table-cell>
+                <xsl:attribute name="number-columns-spanned">
+                  <!-- generate-table-columns adds one extra column and
+                       7 columns are taken by the table-cell above: -->
+                  <xsl:value-of select="count($columns) - 7 + 1"/>
+                </xsl:attribute>
                 <xsl:call-template name="header-cell-with-border"/>
                 <fo:block text-align="center">
                   <xsl:value-of 
select="$scalars/InitAnnSepAcctGrossInt_Guaranteed"/>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]