[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

[XSL-FO] right alignment after leader dots (multiple

Subject: [XSL-FO] right alignment after leader dots (multiple lines)
From: "Geert Bormans geert@xxxxxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 16 Aug 2021 21:54:42 -0000
 [XSL-FO] right alignment after leader dots (multiple

In a table cell, I have (potentially) multiple lines of text, left aligned 
For the last line, I want to align a single word ( maximum 4 digits actually) to the right of the cell and fill the space between this word and the rest of the text with leader dots 
I also want this last line to expand outside the box given to the other lines 

The visual effect is that of a second table cell containing the digits (pushed to the bottom) 
and the first cell having leader dots on the last line, reaching out to the right border of the table cell 
(but I figured out that I can not make that happen in FO) 

The following works perfectly using Antenna House 

<fo:table-cell padding-bottom="5mm" keep-together.within-page="always" 
<fo:block keep-together.within-page="always" 
<fo:inline>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse sodales tincidunt sapien. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Phasellus quis auctor diam.</fo:inline><fo:inline 
leader-pattern="dots" leader-length.optimum="100%" 
/></fo:inline><fo:inline keep-together.within-line="always" 
font-weight="bold"> 2006</fo:inline></fo:block> 

The 2006 is nicely right aligned to the cell boundary 

In FOP however the digits are not right aligned 
The text-align-last="justify" is not using the full width of the cell 

Is Antenna House doing a much better job than it should, or is FOP having a bug? 
And are there suggestions or workarounds to make this work in FOP? 

If the question is not clear enough, I can attach screenshots and a full working FO (at least in AH formatter) ... but wanted to start without attachments to begin with 

Thanks for any help anyone can offer 

Met vriendelijke groeten, 
Best regards, 

Geert Bormans 

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.