xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Neyman <sti...@att.net>
Subject FOP 0.95 - bug with tables?
Date Mon, 13 Sep 2010 20:39:06 GMT
Hi All,

I am trying to format a table with cells spanning as shown below:

AAB
AAC
DEC

To do this, I am using attached .fo file (it is actually a stripped-down 
DocBook-generated table). The essential piece is:

<fo:table>
 <fo:table-body>
  <fo:table-row>
   <fo:table-cell number-rows-spanned="2" number-columns-spanned="2">
    <fo:block>A</fo:block>
   </fo:table-cell>
   <fo:table-cell>
    <fo:block>B</fo:block>
   </fo:table-cell>
  </fo:table-row>
  <fo:table-row>
   <fo:table-cell number-rows-spanned="2">
    <fo:block>C</fo:block>
   </fo:table-cell>
  </fo:table-row>
  <fo:table-row>
   <fo:table-cell>
    <fo:block>D</fo:block>
   </fo:table-cell>
   <fo:table-cell>
    <fo:block>E</fo:block>
   </fo:table-cell>
  </fo:table-row>
 </fo:table-body>
</fo:table>

However, it gets rendered like this:

AAB
DEC

(there is no row that includes both A-cell and C-cell). See the attached PDF. 
It looks like a bug; could somebody confirm and suggest a fix/workaround?

PS. Using FOP 0.95, Ubuntu 10.04.

Regards,
Alexey.

Mime
View raw message