You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by bbg <zh...@gmail.com> on 2012/04/24 06:17:59 UTC

Why my footer is overlapped with body content (fo.xml attached)?

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? 

I used FOP 0.95.

Thanks a lot.
-- 
View this message in context: http://old.nabble.com/Why-my-footer-is-overlapped-with-body-content-%28fo.xml-attached%29--tp33737389p33737389.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


Re: Why my footer is overlapped with body content (fo.xml attached)?

Posted by bbg <zh...@gmail.com>.
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: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 
> 
> 
-- 
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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Why my footer is overlapped with body content (fo.xml attached)?

Posted by "J.Pietschmann" <j3...@yahoo.de>.
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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org