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

FO:Leader Pushing Data in seperate table cells

Subject: FO:Leader Pushing Data in seperate table cells
From: "Schrooten, Ben" <bschrooten@xxxxxxxxxxxxxxxxx>
Date: Tue, 29 Oct 2002 17:16:47 -0500
fo leader
Hello All,

I have a table with one row and two columns, in the first column i am
drawing some text and then a fo:leader with as dots, and the second cell
contains some text. Depending on the length of the text in the first column
my fo:leader if pushing or pulling the data in the second cell. I have a
picture of what the output of this looks like at
http://wls.home.mindspring.com/leaders.gif

The XSL looks like this that the leader is in. 


<fo:table table-layout="fixed" width="100mm">
                                            <fo:table-column
column-width="92mm"/>
                                            <fo:table-column
column-width="8mm"/>
                                            <fo:table-body>
                                              <fo:table-row
display-align="after">
                                                <fo:table-cell>
                                                  <fo:block font-size="7pt"
text-align="left">
                                                    <xsl:value-of
select="text"/>
                                                    <fo:leader
leader-alignment="reference-area" leader-pattern="dots"/>
                                                  </fo:block>
                                                </fo:table-cell>
                                                <fo:table-cell>
                                                  <fo:block
wrap-option="no-wrap" text-align="right" font-size="7pt">
                                                    <xsl:value-of
select="lbs_allowed"/> lbs.
                                                  </fo:block>
                                                </fo:table-cell>
                                              </fo:table-row>
                                            </fo:table-body>
                                          </fo:table>

If i remove the <fo:leader> then everything in the right hand cell lines up
perfectly. Its kind of hard to see they are not aligned, i switched fonts
and it looks a little more aligned but still off. 

Thank You. 

Ben

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.