Re: [xsl] xsl-fo:header, body, and footer overlapped

Subject: Re: [xsl] xsl-fo:header, body, and footer overlapped
From: yan bai <bytj@xxxxxxxxx>
Date: Fri, 28 Dec 2001 19:22:22 -0800 (PST)
Thank you, Wendell.  I did not try that because I
found the problem after I got a big collection of
testing data.  But 'margin-bottom' does solve my
problem. 

I should have know 'margin-bottom' though I am really
quite new to xsl-fo.   

Thank you so much.

Yan


--- Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> wrote:
> Yan,
> 
> I am not exactly sure of what you want, but have you
> tried adding a 
> 'margin-bottom="1cm"' to your fo:region-body
> element? These regions can 
> overlap if you do not explicitly set them up not to
> (by balancing their 
> margins and the 'extent' attributes on the
> region-before, -after, -start 
> and -end elements).
> 
> Hoping that helps,
> Wendell
> 
> At 11:10 AM 12/28/01, you wrote:
> >I am trying to convert an xml file into a PDF file.
> >I have some tried various ways to prevent the body
> >content expanded down to the footer region.  In
> some
> >pages, the body content will overlap with the
> footer.
> >
> >I wonder how I should set the layout-master-set.
> >My code is as follows:
> >
> ><fo:layout-master-set>
> >      <fo:simple-page-master master-name="report"
> >         page-height="29.7cm"
> >         page-width="21cm"
> >         margin-top="1cm"
> >         margin-bottom="3cm"
> >         margin-left="2cm"
> >         margin-right="2cm">
> >         <fo:region-body margin-top="1cm"/>
> >         <fo:region-before extent="1cm"/>
> >         <fo:region-after extent="1cm"/>
> >      </fo:simple-page-master>
> ></fo:layout-master-set>
> 
> 
>
======================================================================
> Wendell Piez                           
> mailto:wapiez@xxxxxxxxxxxxxxxx
> Mulberry Technologies, Inc.               
> http://www.mulberrytech.com
> 17 West Jefferson Street                    Direct
> Phone: 301/315-9635
> Suite 207                                         
> Phone: 301/315-9631
> Rockville, MD  20850                                
> Fax: 301/315-8285
>
----------------------------------------------------------------------
>    Mulberry Technologies: A Consultancy Specializing
> in SGML and XML
>
======================================================================
> 
> 
>  XSL-List info and archive: 
> http://www.mulberrytech.com/xsl/xsl-list
> 


__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread