[xep-support] vertical line between columns

G. Ken Holman gkholman at CraneSoftwrights.com
Tue Dec 18 11:52:34 PST 2007


At 2007-12-18 12:56 -0500, Jerry Janofsky wrote:
>This I think is a simple XSL-FO question and doesn't have much to do 
>with XEP specifically. However, I'd appreciate it if you can tell me 
>if this can be done.
>
>I am using a 3 column layout in my fo:region-body. "<fo:region-body 
>column-count="3">"  . I would like to have a vertical line separator 
>between the columns. Is this possible?

When I've needed to do this for a two-column page, I've drawn a very 
short vertical line, centred it in the horizontal direction, and 
repeated it in the Y-direction.

Here is a snippet from our FO book and course material:

     <region-body region-name="frame-body"
                  column-count="2" column-gap=".5cm"
                  background-position-horizontal="center"
                  background-repeat="repeat-y"
                  background-image='url("vertical-line.bmp")'/>

So for a three-column page, draw a short graphic with two vertical 
lines positioning them in the gaps and use the above properties.

I hope this helps.

. . . . . . . . . . . . .  Ken


--
Comprehensive in-depth XSLT2/XSL-FO1.1 classes: Austin TX,Jan-2008
World-wide corporate, govt. & user group XML, XSL and UBL training
RSS feeds:     publicly-available developer resources and training
G. Ken Holman                 mailto:gkholman at CraneSoftwrights.com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/f/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html



More information about the Xep-support mailing list