Re: Orphans and Widows used with tables?

That was _exactly_ what i was looking for! Works like a charm, thanks a lot.

Greetings.

Jeremias Maerki-2 wrote:
> 
> 
> Klaus, please take a look at the following extension in Apache FOP:
> http://xmlgraphics.apache.org/fop/0.95/extensions.html#widow-orphan-content-limit
> 
> That might help in your case. Otherwise, just try to apply
> keep-with-next/previous on the table-rows. You can surely find out how
> many rows you have in XSLT can keep the last three or so together.
> 
> On 23.07.2008 09:14:56 Klaus Gradinger wrote:
>> 
>> Hello.
>> 
>> I'm using the Apache FOP processor and have the following problem: I have
>> a
>> table with a variable length. The last row of the table is a "Sum" row,
>> adding all the previous rows and displaying the sum. In some cases a
>> unfortunate page - break occurs: All the real rows are on page 1 and the
>> only row on page 2 is the sum Row.
>> 
>> How can I fix this? I want at least 3 rows on the new page (meaning:
>> Taking
>> them away from page 1 and adding them on page 2).
>> 
>> I'm looking for something like orphans and widows, but widows and orphans
>> just work with fo:blocks... encapsulating the whole table with a fo:block
>> didn't work, it just got ignored.
>> 
>> Thanks a lot in advance,
>> Klaus
>> -- 
>> View this message in context:
>> http://www.nabble.com/Orphans-and-Widows-used-with-tables--tp18605175p18605175.html
>> Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.
>> 
>> 
> 
> 
> HTH,
> Jeremias Märki
> _________________________________________________________
> Jeremias Märki, Software-Development and Consulting
> Contact Information: http://www.jeremias-maerki.ch/contact.html
> Blog: http://www.jeremias-maerki.ch/blog/
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Orphans-and-Widows-used-with-tables--tp18605175p18606803.html
Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.

Received on Wednesday, 23 July 2008 09:15:37 UTC