[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: even column lengths
At 2007-03-26 15:11 -0500, Luke Jones wrote:
xsl experts, I'm afraid you are out of luck ... you have correctly used the closest approximation, which is to flow a spanned empty block at the end of the text, but the balancing of the content is done on a line-oriented basis, subject to widows and orphans. As a result, the "balanced columns" are only approximated and vertical justification is not available in XSL-FO with which to give the appearance of the bottom of the last line of each column being aligned with the other. In my initial efforts to figure this problem out, I saw several references of putting an empty block at the end of the text in a effort to force the columns to be even. This did not work for me, although it could be that I did not fully understand the method that was being proposed. The only thing I noticed you probably missed is that the spanned block has to follow unspanned blocks for the unspanned blocks to be balanced. An initial glance gave me the impression you might have too many spanned blocks. A contiguous set of spanned blocks are all in one span-reference area. New span-reference-areas are introduced only when the column spanning changes. To the best of my knowledge this section of code is setting up the columns within the body region. Then calling all the templates that DO NOT get broken up into columns inside a span=all block. Finally the annotation template is called which SHOULD be broken up into columns. I don't think you'll find what you really need ... only an approximation. I hope this helps, though I realize it isn't what you want. . . . . . . . . Ken -- World-wide corporate, govt. & user group XML, XSL and UBL training RSS feeds: publicly-available developer resources and training G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Aug'05 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|