DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19268>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19268

fo:block with padding => region-body overwrites region-after





------- Additional Comments From [EMAIL PROTECTED]  2003-10-14 10:06 -------
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'.   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.  
        After some messing around I can correct the problem by chnaging the 
padding.  I chnaged all the 
                <fo:table-cell padding-before ="&bcellpad;">
        to
                <fo:table-cell padding-after="&bcellpad;">

and now it is OK.  I assume this is the same bug manifesting itself in a 
slightly different way.

Reply via email to