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 Ail Sahin <al...@as-support.com> on 2005/11/29 17:00:36 UTC
region-body problem
Hi there,
I have an stylesheet with a region-before and a region-body.
The region-before "extents" at 8cm, because it's an area where the
reveicers address is written. the region body has a margin-top of 7cm.
When there is a page-break, the region-body starts at 7cm. Is there a
way to say that the region-body should start at 7cm only on the first page?
BR...
Ali
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: region-body problem
Posted by Ail Sahin <al...@as-support.com>.
Chris Bowditch schrieb:
> There is an example on the website:
>
> http://xmlgraphics.apache.org/fop/fo.html#fo-first-page
Thanks a lot for that link. It helped me get out of the mud ^^
Ali
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: region-body problem
Posted by Chris Bowditch <bo...@hotmail.com>.
Ail Sahin wrote:
> Hi there,
>
> I have an stylesheet with a region-before and a region-body.
> The region-before "extents" at 8cm, because it's an area where the
> reveicers address is written. the region body has a margin-top of 7cm.
> When there is a page-break, the region-body starts at 7cm. Is there a
> way to say that the region-body should start at 7cm only on the first page?
It sounds like you need to use a different simple-page-master for the
first page compared with the rest of your document. This is easily
achieved using fo:page-sequence-master and
fo:condition-page-master-reference.
There is an example on the website:
http://xmlgraphics.apache.org/fop/fo.html#fo-first-page
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org