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 Reavis Sutphin-Gray <re...@dj-vis.net> on 2007/04/27 00:55:18 UTC
Controlling when a page break occurs.
Hi,
Is there a way to cause a page break to occur early if too few lines
would flow to the next page. Basically I want to make sure that there
will always be at least three lines of text on the last page. I'm
having trouble searching for info on the subject because it's kind of
hard to describe concisely.
Thanks,
Reavis Sutphin-Gray
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Controlling when a page break occurs.
Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
This concept is called "widows and orphans".
See http://www.w3.org/TR/xsl11/#orphans and
http://www.w3.org/TR/xsl11/#widows
You'll need FOP 0.93 for that to work.
On 27.04.2007 00:55:18 Reavis Sutphin-Gray wrote:
> Hi,
>
> Is there a way to cause a page break to occur early if too few lines
> would flow to the next page. Basically I want to make sure that there
> will always be at least three lines of text on the last page. I'm
> having trouble searching for info on the subject because it's kind of
> hard to describe concisely.
>
>
> Thanks,
> Reavis Sutphin-Gray
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org