From 4f29bbb2b6aa1502b804af0bcc40805aacf4c063 Mon Sep 17 00:00:00 2001 From: Eliot Kimber Date: Wed, 28 Feb 2018 11:20:28 -0600 Subject: [PATCH] #37 Corrected logic for calculating row spans. --- xsl/wordml2simple.xsl | 88 ++++++++++++++++++++++++++++--------------- 1 file changed, 58 insertions(+), 30 deletions(-) diff --git a/xsl/wordml2simple.xsl b/xsl/wordml2simple.xsl index 1f12c19..082fc5f 100644 --- a/xsl/wordml2simple.xsl +++ b/xsl/wordml2simple.xsl @@ -993,7 +993,17 @@ select="local:calculateTableCellVerticalAlignment(.)" /> - + + + + @@ -1007,43 +1017,61 @@ - + 1 - - - - - - - - - - - - - - - 1 - + + + + + + + [DEBUG] myRow: + + [DEBUG] myCol: + + [DEBUG] Got following cells. + + + + [DEBUG] Following cells: + + + [DEBUG] + + + + + + [DEBUG] resetCell: + + + + + + + [DEBUG] Have reset cell, counting cells before resetCell + + + + + + + [DEBUG] No reset cell, counting following cells plus 1 + + + + + + + + [DEBUG] Returning "" + + - - - +