Hi, I'm using FOP 0.95 to build PDF files from XML files.
I found a strange thing on rows borders : when I have more than 2 columns in a table, rows borders are strange. In fact, only the first and the last columns borders are well drawn, all other columns ar not. On the "fo:table" element, the "border-collapse" attribute is valued to "collapse". Here is an example (only the third table is well drawn and there are the problem on the lines between the lines "ligne1" and "ligne2" ans so between the lines "ligne3" and "ligne4") : http://www.nabble.com/file/p24715165/imprimEcran_lignesMalTracees.jpg I think that this may be a FOP bug on the border-collapse=collapse attribute because the problem appears where there is a border merging but I am not sure... Here the source code : <fo:table border-collapse="collapse" font-size="12pt" font-family="Arial"> <fo:table-column column-width="20%"/> <fo:table-column column-width="20%"/> <fo:table-column column-width="20%"/> <fo:table-column column-width="20%"/> <fo:table-column column-width="20%"/> <fo:table-body> <fo:table-row border="1pt solid blue"> <fo:table-cell> <fo:block>ligne1</fo:block> </fo:table-cell> <fo:table-cell> <fo:block>ligne1</fo:block> </fo:table-cell> <fo:table-cell> <fo:block>ligne1</fo:block> </fo:table-cell> <fo:table-cell> <fo:block>ligne1</fo:block> </fo:table-cell> <fo:table-cell> <fo:block>ligne1</fo:block> </fo:table-cell> </fo:table-row> <fo:table-row border="1pt solid blue"> <fo:table-cell> <fo:block>ligne2</fo:block> </fo:table-cell> <fo:table-cell> <fo:block>ligne2</fo:block> </fo:table-cell> <fo:table-cell> <fo:block>ligne2</fo:block> </fo:table-cell> <fo:table-cell> <fo:block>ligne2</fo:block> </fo:table-cell> <fo:table-cell> <fo:block>ligne2</fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> <fo:block>.</fo:block> <fo:table border-collapse="collapse" font-size="12pt" font-family="Arial"> <fo:table-column column-width="20%"/> <fo:table-column column-width="20%"/> <fo:table-column column-width="20%"/> <fo:table-column column-width="20%"/> <fo:table-body> <fo:table-row border="1pt solid blue"> <fo:table-cell> <fo:block>ligne3</fo:block> </fo:table-cell> <fo:table-cell> <fo:block>ligne3</fo:block> </fo:table-cell> <fo:table-cell> <fo:block>ligne3</fo:block> </fo:table-cell> <fo:table-cell> <fo:block>ligne3</fo:block> </fo:table-cell> </fo:table-row> <fo:table-row border="1pt solid blue"> <fo:table-cell> <fo:block>ligne4</fo:block> </fo:table-cell> <fo:table-cell> <fo:block>ligne4</fo:block> </fo:table-cell> <fo:table-cell> <fo:block>ligne4</fo:block> </fo:table-cell> <fo:table-cell> <fo:block>ligne4</fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> <fo:block>.</fo:block> <fo:table border-collapse="collapse" font-size="12pt" font-family="Arial"> <fo:table-column column-width="20%"/> <fo:table-column column-width="30%"/> <fo:table-body> <fo:table-row border="1pt solid blue"> <fo:table-cell> <fo:block>ligne5</fo:block> </fo:table-cell> <fo:table-cell> <fo:block>ligne5</fo:block> </fo:table-cell> </fo:table-row> <fo:table-row border="1pt solid blue"> <fo:table-cell> <fo:block>ligne6</fo:block> </fo:table-cell> <fo:table-cell> <fo:block>ligne6</fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> Thanks for your help. -- View this message in context: http://www.nabble.com/Rows-borders-look-so-bad...-tp24715165p24715165.html Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
