Hello,
I'm trying to draw a tabel with borders. Some table-cells have the attribute
"number-columns-spanned" set. My problem is that the fop-renderer (0.91beta)
draw the cell-border for every spanned cell as well!
Do I have to set a special attribute or is this a fop-bug?
Thanks for every help!
Regards
Mike
Simple sample-code with one table-row:
<fo:table table-layout="fixed">
<fo:table-column column-width="30mm" />
<fo:table-column column-width="30mm" />
<fo:table-column column-width="30mm" />
<fo:table-body>
<fo:table-row height="10mm">
<!-- This cell is spanned over 3 cells, but the
fop-renderer will draw borders inside this
spanned cell!!
- - - - - - - - - - - - - - - - - - -
| |<-wrong!? |<-wrong!? |
- - - - - - - - - - - - - - - - - - -
-->
<fo:table-cell number-columns-spanned="3"
border-before-style="solid"
border-before-width="0.3mm"
border-after-style="solid"
border-after-width="0.3mm"
border-start-style="solid"
border-start-width="0.3mm"
border-end-style="solid"
border-end-width="0.3mm">
<fo:block/>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
border-collapse defaults to "collapse" but this is not implemented, yet. If you specify border-collapse="separate" on the fo:table, the problem will go away. I thought I had added a change that forces FOP to use the separate border model but it seems not to work. On 30.01.2006 14:59:54 Mike wrote: > Hello, > > I'm trying to draw a tabel with borders. Some table-cells have the attribute > "number-columns-spanned" set. My problem is that the fop-renderer (0.91beta) > draw the cell-border for every spanned cell as well! > > Do I have to set a special attribute or is this a fop-bug? > > Thanks for every help! > Regards > Mike > > > Simple sample-code with one table-row: > <fo:table table-layout="fixed"> > <fo:table-column column-width="30mm" /> > <fo:table-column column-width="30mm" /> > <fo:table-column column-width="30mm" /> > > <fo:table-body> > <fo:table-row height="10mm"> > <!-- This cell is spanned over 3 cells, but the > fop-renderer will draw borders inside this > spanned cell!! > > - - - - - - - - - - - - - - - - - - - > | |<-wrong!? |<-wrong!? | > - - - - - - - - - - - - - - - - - - - > --> > <fo:table-cell number-columns-spanned="3" > border-before-style="solid" > border-before-width="0.3mm" > border-after-style="solid" > border-after-width="0.3mm" > border-start-style="solid" > border-start-width="0.3mm" > border-end-style="solid" > border-end-width="0.3mm"> > <fo:block/> > </fo:table-cell> > </fo:table-row> > </fo:table-body> > </fo:table> Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org