Hi all,

in my project I am using tables with rowspans, something like this :

<fo:table>
  <fo:table-column column-width="40mm"/>
  <fo:table-column column-width="40mm"/>
  <fo:table-column column-width="40mm"/>
  <fo:table-column column-width="40mm"/>
  <fo:table-body>
    <fo:table-row>
      <fo:table-cell ><fo:block>good</fo:block></fo:table-cell>
      <fo:table-cell ><fo:block>bad</fo:block></fo:table-cell>
      <fo:table-cell ><fo:block>ugly</fo:block></fo:table-cell>
      <fo:table-cell ><fo:block>ugly</fo:block></fo:table-cell>
    </fo:table-row>
    <fo:table-row>
      <fo:table-cell ><fo:block>nice</fo:block></fo:table-cell>
      <fo:table-cell
        number-columns-spanned="2" number-rows-spanned="2">
        <fo:block>dice</fo:block>
      </fo:table-cell>
      <fo:table-cell ><fo:block>vice</fo:block></fo:table-cell>
    </fo:table-row>
    <fo:table-row>
      <fo:table-cell ><fo:block>literature</fo:block></fo:table-cell>
      <fo:table-cell ><fo:block>art</fo:block></fo:table-cell>
    </fo:table-row>
    <fo:table-row>
      <fo:table-cell ><fo:block>java</fo:block></fo:table-cell>
      <fo:table-cell ><fo:block>music</fo:block></fo:table-cell>
      <fo:table-cell ><fo:block>perl</fo:block></fo:table-cell>
      <fo:table-cell ><fo:block>python</fo:block></fo:table-cell>
    </fo:table-row>
  </fo:table-body>
</fo:table>

As you can see third row contains only two cells because place for 
other two is covered by spanning cell from previous row. My problem is 
that FOP on this line says "WARNING: Number of cell columns under table-
row not equal to number of table-columns" and completely DISCARDS this 
row, so some content is not rendered and is conpletely lost. I 
understand that implementation of rowspans is more difficult than 
colspans. But loss of data is absolutely unacceptable. Would it be 
possible not to discard rows which have less cells than count of table-
columns and render them for example as if they had empty cells at the 
end of row to match required number of table-cells. Rendered this way 
the will not look as it shoul but at least no data will be lost.

Petr Andrs

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to