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

vertical centering with XSL-FO

Subject: vertical centering with XSL-FO
From: Fred Romelfanger <fred@xxxxxxxxx>
Date: Fri, 22 Dec 2000 09:33:35 -0500
xsl fo vertical space
I have two blocks on the left, with one block next to it on the right.
The blocks
on the left side of the page take up more vertical space than the one on
the right.
I want to center the text vertically in the right hand block.  I don't
know ahead of
time how much space the text will take up.  Is there a way to vertically
center a
block of text with XSL-FO?  I noticed that external graphics can be
centered
vertically, but I didn't see anything for centering blocks.  I tried
doing calculations
with the height, but XSL tells me that they aren't integer values.  I
think the closest
I can come is making the individual lines on both sides into table cells
and then count
the lines on the right and line them up horizontaly with the lines on
the left.  In my
case this won't work very well of I have an odd number of lines on the
right side.
I am currently using the apache implementation of XSL-FO which doesn't
presently
support row/column spanning, and it wasn't clear from the specs what
would happen
with the text alignment when spanning a table row.  Any suggestions?
                            Thanks,
                                   Fred Romelfanger
                                   fred@xxxxxxxxx


 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.