Unless I totally misunderstood the specification text about widows and
orphans, the file "widowsorphans.fo" is totally useless and misleading.
The two properties only affect one fo:block at a time, not an entire
table or table-rows.

That said, widows and orphans work fine in 0.91beta. I just realized
that we don't have any test in our test suite that explicitely tests
widows and orphans. But we have to disable the widows and orphans in
certain tests (see [1] for an example) because their effect can lead to
unwelcome side-effects in some of our tests. The reason for that is that
by default both properties are set to "2".

Attached you'll find a demo file that demonstrates the two properties.

[1] 
http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk/test/layoutengine/standard-testcases/block_keep-together.xml

On 22.03.2006 14:48:00 benoit thierry wrote:
> Hi,
> I am testing both "widows" and "orphans" properties using version 0.91beta 
> of fop and I can't make working the given example (widowsorphans.fo in 
> folder 'examples\fo\tables').
> 
> Indeed, the resulting pdf file make me think that those properties are not 
> working. The fact to change those properties values change nothing to the 
> pdf file.
> 
> Can anyone tell me how to use them or give me examples or explanations ?
> 
> Any help will be appreciate!!


Jeremias Maerki

Attachment: widows-orphans.fo
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to