This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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@mulberrytech.com
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]