Bob
Wouldn't manually removing the padding-top="2pt" and
padding-bottom="2pt" apply to all rows - then I'd have to set
row-height for every row?
I get no error messages when setting negative row-heights.
When I set row-height="0cm" (without removing any padding) I get a
different result from -3cm - see attached file and compare the second
row up from the bottom (0cm) with the fourth row up (-3cm). The -3cm
is narrower, and the 0cm same as the default value. Surely some
negative row-height is being deducted from the default?
Ron
>Hi Ron,
>I can't explain your results. According to the XSL-FO spec,
>negative height values are not allowed, and are probably interpreted
>as 0mm. You might compare -3mm to 0mm to see if they differ (they
>shouldn't).
>
>However, I can achieve a zero height row by setting
>row-height="0mm", all cells containing just a comment, *and*
>manually removing the padding-top="2pt" and padding-bottom="2pt"
>that are put into each cell by the stylesheet. The padding is added
>by the table.cell.padding attribute set. You should customize the
>template named 'empty.table.cell' from fo/table.xsl to remove the
>reference to that attribute set. Then your mm values should
>accurately represent the height of the row.
>
>I didn't try to get this working with HTML, but the cell padding may
>be an issue there as well.
>
>Bob Stayton
--
Ron Catterall, Phd, DSc email:
Prolongacion de Hidalgo 140 http://catterall.net/
San Felipe del Agua tel: +52 951 520 1821
Oaxaca 68020 Mexico fax: +1 530 348 8309