You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Ruane, Conleth" <co...@hp.com> on 2002/07/04 14:28:59 UTC
Table row borders
Hi all.
I'm trying to add a separating line to a table based on certain criteria but it seems row borders don't work yet in FOP 0.20.3 though it doesn't say so in the documentation.
This is what I was trying to do:
<fo:table-row border-style="solid" border-before-width="0mm"
border-after-width="1mm" border-start-width="0mm" border-end-width="0mm">
<fo:table-cell>
<fo:block/>
</fo:table-cell>
</fo:table-row>
Since this an empty I only add 1 cell though the rest of the table has 6 cells.
Does anyone have _nice_ way of doing this without putting a border on each of the cells?
PS.
While composing this post I had the idea that using 'number-columns-spanned' might help and it does.
So here's my solution to my own problem in case anyone needs something similar.
<fo:table-row>
<fo:table-cell number-columns-spanned="6">
<fo:block border-after-width="0.3mm" border-style="solid"></fo:block>
</fo:table-cell>
</fo:table-row>
Thanks
Con
Conleth Ruane
Re: Table row borders
Posted by "J.Pietschmann" <j3...@yahoo.de>.
Ruane, Conleth wrote:
> I'm trying to add a separating line to a table based on certain criteria
> but it seems row borders don't work yet in FOP 0.20.3 though it doesn't
> say so in the documentation.
Indeed, row borders don't work well, you have to use cell
borders.
J.Pietschmann