mtableShiftY
<xsl:template name="mtableShiftY"> <xsl:param name="y"/> <xsl:param name="rows"/> <xsl:param name="tableSpace" tunnel="yes"/> ... </xsl:template>
Recursion is done over the rows set. At each step, a shift value is computed for the first row in the set by using the difference between
its final Y
position (given in parameter) and its current Y
position. The recursion is called
for the rest of the set with an updated Y
value. This new value is computed by using the height of the first row
and size of space between two cells (tableSpace
global parameter).
Row children from a table.
Final top edge Y
coordinate of the first row in the rows
parameters.
As output, it provides a sequence of values that represent the shift for all rows:
(1st row shift, 2nd row shift, ..., last row shift)
.