Thanks, that solve my problem. I change the page to 

                <fo:simple-page-master master-name="simple"
                        page-height="29.7cm" page-width="21cm" 
margin-top="1.5cm"
                        margin-bottom="1.5cm" margin-left="2.5cm" 
margin-right="2.5cm">
                        <fo:region-body margin-top="1cm" margin-bottom="2cm"/>
                        <fo:region-before extent="1cm" />
                        <fo:region-after extent="1.5cm" />
                </fo:simple-page-master>



J.Pietschmann wrote:
> 
> Am 24.04.2012 06:17, schrieb bbg:
>> 
>> http://old.nabble.com/file/p33737389/exampleXmlAndPdf.zip
>> exampleXmlAndPdf.zip 
>> 
>> I attached both 1.fo.xml and generated PDF 1.fo.pdf. Could somebody tell
>> me
>> what's wrong with my 1.fo.xml, why the footer overlap with the body
>> content? 
> 
> Your body region doesn't have a bottom margin. See
>  http://xmlgraphics.apache.org/fop/fo.html#fo-region-align
> Your top region also overlaps the body.
> 
> J.Pietschmann
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 
-- 
View this message in context: 
http://old.nabble.com/Why-my-footer-is-overlapped-with-body-content-%28fo.xml-attached%29--tp33737389p33743998.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