Are you looking for keep-together.within-page="always" or do I misunderstand what you're after?
On 05.05.2006 09:07:07 Karl Roberts wrote: > Hi, > Carrying on from this thread: > http://www.nabble.com/forum/ViewTopic.jtp?topic=725743&tview=dump#a19023 > 05 > > Where the answer to stopping a block spanning a page break but actually > go onto the next page if there's not enough room to render the whole > block, instead of spanning the page break, was:- > > <!-- conditional page break blag --> > <fo:block-container height="4cm"> > <fo:block> > <fo:leader leader-length="0pt"/> > </fo:block> > </fo:block-container> > <fo:block space-before="-4cm"/> > <!-- end conditional page break blag --> > > <!-- Real stuff goes here --> > ... > > (Cool trick by the way and works in the latest trunk of FOP.) > > But it does depend on setting the height to what you guess is going to > be the max rendered height of a block > Is there a keep-together type of thing that would force a block not to > straddle a page break? Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]