Hey. Unfortunately, I'm not able to determine the length of the department names, so I'm not sure how to use multiple blocks as in the fo block below.
I need a way to handle cases such as the following: Short dept..................(111) 111-1111 Ext. 111 Short Phone..........................(111) 111-1111 A very long department name that could require Wrapping....................(111) 111-1111 Ext. 111 Dept name requiring wrapping....................(111) 111-1111 Ext. 111 Note that in the "Dept name requiring wrapping" case, "wrapping" would have to go to the next line so that the dots would show instead of the following: Dept name requiring wrapping(111) 111-1111 Ext. 111 Does this make sense? The FO document is being generated using an XSL Transform, so I'm pulling the dept name and phone number data from an XML document. I left this out to begin with since I just wanted to get the simplest example that I could out there, but the above is what I truly need. Thanks for all help! -Robby -----Original Message----- From: Sven Waibel [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 25, 2004 8:26 AM To: [EMAIL PROTECTED] Subject: Re: Question about <fo:leader> Hi, so it works, but i don't know if it is what you want. <fo:block> This is a test department to test </fo:block> <fo:block text-align-last="justify"> wrapping <fo:leader leader-pattern="dots"/> (123) 457-2342 Ext. 123 </fo:block> Sven 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. > > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]