You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Jordan Naftolin <jo...@jtcsv.com> on 2000/09/18 20:18:23 UTC

Re: Before, after, and body regions

Elliotte,
As a suggestion, try setting the extent attribute in your region-before and
region-after elements to match the margins you have set in your region-body.

For example:

<fo:region-before extent="3cm"/>
<fo:region-body margin-top="3cm" margin-bottom="2cm"/>
<fo:region-after extent="2cm"/>

Hope this helps.
Jordan

----- Original Message -----
From: "Elliotte Rusty Harold" <el...@metalab.unc.edu>
To: <fo...@xml.apache.org>
Sent: Monday, September 18, 2000 2:28 PM
Subject: Before, after, and body regions


> I've noticed that with FOP text I place in the before and after regions
> tends to overlap the first and last lines respectively of the text in
> the body region.
>
> Is this likely to be a problem with FOP or with my stylesheet? Setting
> the margins or padding on the before and after regions doesn't seem to
> prevent this.
>
> --
> +-----------------------+------------------------+-------------------+
> | Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
> +-----------------------+------------------------+-------------------+
> |               Java I/O (O'Reilly & Associates, 1999)               |
> |            http://metalab.unc.edu/javafaq/books/javaio/            |
> |   http://www.amazon.com/exec/obidos/ISBN=1565924851/cafeaulaitA/   |
> +----------------------------------+---------------------------------+
> |  Read Cafe au Lait for Java News:  http://metalab.unc.edu/javafaq/ |
> |  Read Cafe con Leche for XML News: http://metalab.unc.edu/xml/     |
> +----------------------------------+---------------------------------+
>