Hello,

I'm using FOP 0.90 alpha. I encountered a problem with table borders and page breaks. In the example below there is one cell with little content and a second one with a lot more of content. On the first page the border of both cells is displayed correctly. After a page break only the second cell has a border and the first one (which is empty after the page break) has no border!

Is this an error of the alpha version? Will it be fixed? Or does anybody knows a workaround?

Thanks a lot...

Dominic


<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
 <fo:layout-master-set>
   <fo:simple-page-master master-name="first"
         margin-right="1.5cm"
         margin-left="1.5cm"
         margin-bottom="2cm"
         margin-top="1cm"
         page-width="21cm"
         page-height="29.7cm">
     <fo:region-body margin-top="1cm"/>
     <fo:region-before extent="1cm"/>
     <fo:region-after extent="1.5cm"/>
   </fo:simple-page-master>
 </fo:layout-master-set>

 <fo:page-sequence master-reference="first">
   <fo:static-content flow-name="xsl-region-after">
     <fo:block line-height="14pt" font-size="10pt"
   text-align="end">Page <fo:page-number/></fo:block>
   </fo:static-content>

   <fo:flow flow-name="xsl-region-body">

     <fo:block space-before.optimum="30pt" space-after.optimum="15pt">
     Problem table:
     </fo:block>

     <fo:table border-collapse="collapse" table-layout="fixed">
       <fo:table-column column-width="3cm"/>
       <fo:table-column column-width="3cm"/>

       <fo:table-body>
         <fo:table-row>
<fo:table-cell border-color="blue" border-width="0.5pt" border-style="solid">
             <fo:block text-align="center">
             A cell with little text.
             </fo:block>
           </fo:table-cell>
<fo:table-cell border-color="blue" border-width="0.5pt" border-style="solid">
             <fo:block text-align="center">
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             A cell with very lot of text!
             </fo:block>
           </fo:table-cell>
         </fo:table-row>
       </fo:table-body>
     </fo:table>

   </fo:flow>
 </fo:page-sequence>
</fo:root>

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

Reply via email to