From: Alexander Peshkov (email@example.com)
Date: Mon Feb 09 2004 - 05:29:51 PST
There was a similar question some time ago on the XSL FO list at
There was a more complicated requirement: to draw a bar only till the
end of the actual column content. Let me recite my answer:
You can draw a rule in SVG and place it into the background of the
body-region (block with span="all" in this case should have
background-color="white"). The only shortcoming of this approach is
that this rule will be drawn through all the page even if columns are
There is another solution which gives you desired result although it's
a kind of hack:
- wrap whole text in a fo:block with left/right borders as thick as
required rule and left/right padding with the size equal to
(column-gap width minus rule width) divided by two.
This way you have desired rule between columns and undesired
border on either sides.
- add symmetrical region-start/region-end which have extents as
wide as region-body margin minus padding of fo:block (calculated
above). Place in appropriate static contents fo:block-container
with height="100%" and background-color="white" (it should have
some non-empty content, i.e. block with empty leader inside).
These containers will be drawn atop of the side borders and will
Please find a sample demonstrating both approaches attached.
Alexander Peshkov mailto:firstname.lastname@example.org
GA> is there a possibility to achieve a vertical bar between columns in a
GA> multi-column region?
GA> Andreas Geyrecker
GA> IT und Electronic Publishing
GA> LexisNexis Verlag ARD ORAC GmbH & Co KG
GA> Graben 17
GA> A-1010 Wien
GA> Tel. +43-1-534 52-1602, Fax +43-1-534 52-147
GA> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
GA> in the body of the message to email@example.com from the address
GA> you are subscribed from.
GA> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to firstname.lastname@example.org from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
This archive was generated by hypermail 2.1.5 : Mon Feb 09 2004 - 05:36:56 PST