Abney, Robby wrote:
Getting rid of the white-space before and after the leader did not
change the result...the PDF still generates with "This is a test
department to test wrapping..." on the first line and then the phone
number on the second line.
Hm, the problem is that FOP assumes it can break the line after
the leader, and that keeps are not implemented for inline FOs.
You can try varying the minimal leader length, but I suspect
FOP will also break the line before the leader. The most robust
solution appears to insert a line break by yourself if the
department name length sans the last word exceeds a certain
length. There are numerous examples for how to do this in XSLT
available in the XSLT FAQ.
I've also tried surrounding the dept name and phone number with
<fo:inline> and using keep-with-next.within-line="always" and
keep-with-previous.within-line="always" but could not get that to work.
No surprise here.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]