RE: [xep-support] How to control line wrappings while using <fo:leader>?

From: Henk Rutten <>
Date: Fri Nov 30 2007 - 07:37:02 PST

Hello Fritz,
You could try putting a non-breaking-space between the NAME and the leading
 <fo:block text-align-last="justify" font="7pt Helvetica bold"
font-weight="bold" margin-left="4pt">INANI MARBLES &amp; GRANITE
TR&#160;<fo:leader leader-pattern="dots" keep-with-next.within-line="always"

Met vriendelijke groet,

Henk Rutten

ICT Specialist
GrafiData Deventer

Keulenstraat 16, 7418 ET Deventer
Postbus 2014, 7420 AA Deventer
T. 0570-609797

De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is
uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht
ontvangt, wordt u verzocht de inhoud niet te printen, te kopiëren, te
verspreiden of op welke andere manier dan ook te gebruiken en de afzender
direct te informeren door het bericht te retourneren.

The information in this message may be confidential and is intended to be
exclusively for the addressee. Should you receive this message
unintentionally, please do not print, copy, distribute or in any other way
use the content and notify the sender by return e-mail.



Van: []
Namens Fritz Kirch
Verzonden: vrijdag 30 november 2007 15:28
Onderwerp: [xep-support] How to control line wrappings while using

Dear XEP-support,


While I am creating phonebook advertisements with XSLFO I have the following

I have lines with left aligned text (i.e. the NAME), then leading dots and
then right align text (i.e. PHONENUMBER).

Everything is ok, as long as everything fits into one line.

But: With very long left aligned text (NAME), the line is wrapped and the
right aligned text (PHONENUMBER) is the one and only text at the second


My expectation is that the left aligned text (NAME) would break between
words earlier in the line to put the last word with the right aligned text
(PHONENUMBER) on the next line.


But it doesn’t seem to work.


Can anybody help me?


Fritz Kirch

IT2media GmbH & Co. KG

Nürnberg, Germany


Here is my FO-File:


<?xml version='1.0' ?>
<fo:root xmlns:fo=""
    <fo:simple-page-master master-name="first-page" page-width="44mm"
      <fo:region-body region-name="Advertisement" margin-left="0.3mm"
  <fo:page-sequence master-reference="first-page">
    <fo:flow flow-name="Advertisement">
        <fo:block font="7pt Helvetica">
          <fo:inline font-weight="bold">4762</fo:inline>
            (Abu Dhabi Main GPO)
        <fo:block text-align-last="justify" font="7pt Helvetica bold"
font-weight="bold" margin-left="4pt">INANI MARBLES &amp; GRANITE TR
          <fo:leader leader-pattern="dots"



Diese E-Mail wurde auf Viren ueberprueft.


(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service

Received on Fri Nov 30 08:33:30 2007

This archive was generated by hypermail 2.1.8 : Fri Nov 30 2007 - 08:33:31 PST