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.
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. Any more ideas? :) Thanks again for everyone's help! -Robby -----Original Message----- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 24, 2004 2:26 PM To: [EMAIL PROTECTED] Subject: Re: Question about <fo:leader> [repost] Abney, Robby wrote: > <fo:block text-align-last="justify"> > This is a test department to test wrapping > <fo:leader leader-pattern="dots"/> > (123) 457-2342 Ext. 123 > </fo:block> > > Ideally...I would like the PDF to display something like the following: > > This is a test department to test > wrapping..........................(123) 457-2342 Ext. 123 > > I have attached a PDF document to show how it currently is displayed. > > Is the attached format a result of FOP's implementation of leader, or is > there something I'm missing from the FO snippet? You must get rid of the spaces before and after the leader if you want to avoid line breaks there. Use non-breaking spaces if necessary. <fo:block text-align-last="justify"> This is a test department to test wrapping<fo:leader leader-pattern="dots"/>(123) 457-2342 Ext. 123 </fo:block> J.Pietschmann --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
