xsl-list
[Top] [All Lists]

Re: FOP Bug? Leaking table rows from region before into the region after

2003-10-07 10:31:20

By the way the title should read...
       Leaking table rows from region body into the region after

Roger



                                                                                
                                                          
                      roger(_dot_)wyatt(_at_)nomadsoft(_dot_)com                
                                                                           
                      Sent by:                          To:       
XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com                                
         
                      owner-xsl-list(_at_)lists(_dot_)mulbe        cc:          
                                                                     
                      rrytech.com                       Subject:  [xsl] FOP 
Bug? Leaking table rows from region before into the region    
                                                         after                  
                                                          
                                                                                
                                                          
                      07/10/2003 18:01                                          
                                                          
                      Please respond to xsl-list                                
                                                          
                                                                                
                                                          




When writing a table into the body of a page depending on weather the
content of a cell in the last row that fits on that page wraps or not, FOP
may write an extra row of the table into the 'region after'.  I have no
idea why.  I think it is a bug in FOP-0.20.5 but as I am new to this game
it could well be that there is something a miss with my XSL-FO.  My Page
layout is :

            <fo:simple-page-master master-name="basic-statement"
                  page-height="297mm"     page-width="210mm"
                  margin-top="15mm" margin-bottom="15mm"
                  margin-left="15mm"      margin-right="15mm" >

                  <fo:region-body
                        margin-top="&phd;"
                        margin-bottom="&pft;"
                        margin-left="&plft;"
                        margin-right="&prgt;"/>

                  <fo:region-before extent="&phd;"/>
                  <fo:region-after        extent="&pft;"/>
                  <fo:region-start        extent="&plft;"/>
                  <fo:region-end          extent="&prgt;"/>
            </fo:simple-page-master>


For what it's worth the entities are:
      <!ENTITY prgt "5mm">
      <!ENTITY plft "5mm">
      <!ENTITY phd  "60mm">
      <!ENTITY pft  "20mm">
Also I am using a 10mm pad-after on each table cell in the table

      So as far as I can see there should be no way that rows written into
the main body can leak into the region after.  Can anyone shed some light
on this for me??

Roger Wyatt



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list






 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>