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

Re: Two columns page

Subject: Re: Two columns page
From: "W. Eliot Kimber" <eliot@xxxxxxxxxx>
Date: Thu, 29 May 2003 09:53:19 -0500
xsl two columns
Ricardo Borillo Domenech wrote:
Hi all !!

I want all the text in a fo:block divided in a two columns page. Then I
use:
<fo:region-body margin-top="1in" margin-bottom="1in"
column-count="2" column-gap="0.25in"/>


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 length.

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.

Cheers,

E.
--
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



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.