Hello Fritz,
You could try putting a non-breaking-space between the NAME and the leading
dots:
<fo:block text-align-last="justify" font="7pt Helvetica bold"
font-weight="bold" margin-left="4pt">INANI MARBLES & GRANITE
TR <fo:leader leader-pattern="dots" keep-with-next.within-line="always"
keep-with-previous.within-line="always"/>04-2694773</fo:block>
Met vriendelijke groet,
Henk Rutten
ICT Specialist
GrafiData Deventer
Keulenstraat 16, 7418 ET Deventer
Postbus 2014, 7420 AA Deventer
T. 0570-609797
<http://www.grafidata.nl/> www.grafidata.nl
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: owner-xep-support@renderx.com [mailto:owner-xep-support@renderx.com]
Namens Fritz Kirch
Verzonden: vrijdag 30 november 2007 15:28
Aan: xep-support@renderx.com
CC: kevin@renderx.com
Onderwerp: [xep-support] How to control line wrappings while using
<fo:leader>?
Dear XEP-support,
While I am creating phonebook advertisements with XSLFO I have the following
situation:
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
line.
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="http://www.w3.org/1999/XSL/Format"
xmlns:def="http://www.adsml.org/adsmlstructureddescriptions/1.0">
<fo:layout-master-set>
<fo:simple-page-master master-name="first-page" page-width="44mm"
page-height="10mm">
<fo:region-body region-name="Advertisement" margin-left="0.3mm"
margin-right="0mm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="first-page">
<fo:flow flow-name="Advertisement">
<fo:block>
<fo:block font="7pt Helvetica">
<fo:inline font-weight="bold">4762</fo:inline>
(Abu Dhabi Main GPO)
</fo:block>
<fo:block text-align-last="justify" font="7pt Helvetica bold"
font-weight="bold" margin-left="4pt">INANI MARBLES & GRANITE TR
<fo:leader leader-pattern="dots"
keep-with-next.within-line="always"
keep-with-previous.within-line="always"/>04-2694773
</fo:block>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
**********************************************************************
Diese E-Mail wurde auf Viren ueberprueft.
mailsweeper@it2media.de
**********************************************************************
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
This archive was generated by hypermail 2.1.8 : Fri Nov 30 2007 - 08:33:31 PST