This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: xsl-fo:header, body, and footer overlapped
- From: Wendell Piez <wapiez at mulberrytech dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 28 Dec 2001 15:40:31 -0500
- Subject: Re: [xsl] xsl-fo:header, body, and footer overlapped
- References: <200112281210.MAA08718@penguin.nag.co.uk>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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