Hi

As I just know fop since 2 days, I'm not sure if this is a bug... can
someone check if it is. Just render the lower fo. The biggest bug is that
lower table with 2 rows as the fo specifies only 1 row.

-- nwp



<?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="simple" page-height="29.7cm"
page-width="21cm" margin-top="2cm" margin-bottom="2cm" margin-left="2.5cm"
margin-right="2.5cm">
        <fo:region-body margin-top="3cm"/>
        <fo:region-before extent="3cm"/>
        <fo:region-after extent="1.5cm"/>
    </fo:simple-page-master>
</fo:layout-master-set>

<fo:page-sequence master-reference="simple">

    <fo:flow flow-name="xsl-region-body">
                
                        <fo:block width="2cm">BUG: this block should have 2cm 
in width</fo:block>
                        <fo:block> </fo:block>
                        
                        <fo:block-container z-index="1" position="absolute" 
left="0cm" top="1cm"
overflow="hidden">
                                <fo:block width="2cm">BUG: this block is inside 
a block-container and it
should have 2cm in width</fo:block>
                        </fo:block-container>

                        <fo:block space-before="2cm">
                                <fo:table table-layout="fixed" width="100%">
                                                <fo:table-column 
column-width="1cm" column-number="1"/>
                                                <fo:table-column 
column-width="7cm" column-number="2"/>
                                                <fo:table-column 
column-width="1cm" column-number="3"/>
                                                <fo:table-column 
column-width="7cm" column-number="4"/>
                                                <fo:table-column 
column-width="1cm" column-number="5"/>
                                                <fo:table-body>
                                                        <fo:table-row>
                                                                <fo:table-cell 
border="1px solid black">
                                                                        
<fo:block> </fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell 
border="1px solid black">
                                                                        
<fo:block>some short text</fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell 
border="1px solid black">
                                                                        
<fo:block> </fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell 
border="1px solid black">
                                                                        
<fo:block >OK!!! table out of block-container...!!! some very long
text doesn't cause some magic...</fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell 
border="1px solid black">
                                                                        
<fo:block> </fo:block>
                                                                </fo:table-cell>
                                                        </fo:table-row>
                                                </fo:table-body>
                                </fo:table>
                        </fo:block>                             

                        <fo:block-container z-index="1" position="absolute" 
left="0cm" top="5cm"
overflow="hidden">
                                <fo:block>
                                        <fo:table table-layout="fixed" 
width="100%">
                                                <fo:table-column 
column-width="1cm" column-number="1"/>
                                                <fo:table-column 
column-width="7cm" column-number="2"/>
                                                <fo:table-column 
column-width="1cm" column-number="3"/>
                                                <fo:table-column 
column-width="7cm" column-number="4"/>
                                                <fo:table-column 
column-width="1cm" column-number="5"/>
                                                <fo:table-body>
                                                        <fo:table-row>
                                                                <fo:table-cell 
border="1px solid black">
                                                                        
<fo:block> </fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell 
border="1px solid black">
                                                                        
<fo:block>some short text</fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell 
border="1px solid black">
                                                                        
<fo:block> </fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell 
border="1px solid black">
                                                                        
<fo:block background-color="silver">BUG!!! table inside
block-container. Some very long text that cause some magic and creates
second row</fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell 
border="1px solid black">
                                                                        
<fo:block> </fo:block>
                                                                </fo:table-cell>
                                                        </fo:table-row>
                                                </fo:table-body>
                                        </fo:table>
                                </fo:block>                             
                        </fo:block-container>
    </fo:flow>
</fo:page-sequence>

</fo:root>
-- 
View this message in context: 
http://www.nabble.com/Is-this-a-bug--tp15480346p15480346.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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

Reply via email to