Re: [xsl] Two columns page
Subject: Re: [xsl] Two columns page|
From: "W. Eliot Kimber" <eliot@xxxxxxxxxx>
Date: Thu, 29 May 2003 09:53:19 -0500
Ricardo Borillo Domenech wrote:
Hi all !!
I want all the text in a fo:block divided in a two columns page. Then I
<fo:region-body margin-top="1in" margin-bottom="1in"
But it's possible to have a vertical solid line spliting the two columns
XSL Formatter 2.5 (www.antennahouse.com) includes a proprietary
extension to produce a variety of rules for columns.
To do this with an unused region (for example, region-end), you make the
extent of the region-end such that it will overlap the part of the page
where the rule should be. You can then use any number of different
formatting objects to product the rule, including, for example, a
block-container with a single border or a rotated leader with a fixed
The key to this is remembering that the different page regions can overlap.
If you need to control whether or not the rule appears on different
pages within the same page sequence, you can use markers to hold the
flow objects that actually produce the rule and then set the markers as
needed as you change the number of columns. Unfortunately, I don't think
there's a way to make this work if you change the column spanning in the
middle of a page and you can't predict exactly where on the page that
change will occur.
W. Eliot Kimber, eliot@xxxxxxxxxx
Consultant, ISOGEN International
1016 La Posada Dr., Suite 240
Austin, TX 78752 Phone: 512.656.4139
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list