Hi there,

I'm rendering a table over multiple pages.
The bottom border (border-after) is only rendered at the end of the table (last 
page), but i want the table to have a bottom border before each page break.

Enclosed you can find a sample fo file: The red border is missing at the bottom 
of the first page.

Any ideas?

Matthias

-- Sample --

<?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="20cm" 
page-height="20cm">
            <fo:region-body margin-top="2cm"/>
            <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:flow flow-name="xsl-region-body">
            <fo:table border-collapse="collapse" table-layout="fixed" 
border="4pt solid red">
                <fo:table-column column-width="3cm" border="1pt solid black"/>
                <fo:table-column column-width="3cm" border="1pt solid black"/>
                <fo:table-column column-width="3cm" border="1pt solid black"/>
                <fo:table-body>
                    <fo:table-row border="1pt solid black" line-height="50mm">
                        
<fo:table-cell><fo:block>(1,1)</fo:block></fo:table-cell>
                        
<fo:table-cell><fo:block>(1,2)</fo:block></fo:table-cell>
                        
<fo:table-cell><fo:block>(1,3)</fo:block></fo:table-cell>
                    </fo:table-row>
                    <fo:table-row border="1pt solid black" line-height="50mm">
                        
<fo:table-cell><fo:block>(2,1)</fo:block></fo:table-cell>
                        
<fo:table-cell><fo:block>(2,2)</fo:block></fo:table-cell>
                        
<fo:table-cell><fo:block>(2,3)</fo:block></fo:table-cell>
                    </fo:table-row>
                    <fo:table-row border="1pt solid black" line-height="50mm">
                        
<fo:table-cell><fo:block>(3,1)</fo:block></fo:table-cell>
                        
<fo:table-cell><fo:block>(3,2)</fo:block></fo:table-cell>
                        
<fo:table-cell><fo:block>(3,3)</fo:block></fo:table-cell>
                    </fo:table-row>
                </fo:table-body>
            </fo:table>
        </fo:flow>
    </fo:page-sequence>
</fo:root>



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to