Jarnot Voytek Contr AU HQ/SC wrote:
  I'm using column-count="2" on fo:region-body to generate a two column
document.  I'd like to draw a vertical line between the columns.  My idea to
implement the line is to use  border-end-style="solid"
border-end-width="1pt" on the elements in the first column.  But here is my
question, how can I 'find out' which column I'm in?

You can't.

  I guess I'm looking for something similar to: <xsl:if
test="position()=last()"> for determining the column.

Careful, don't mix XSL transformation with XSLFO formatting.

Your problem can be solved in several ways, for example:
- Use a background image on the region-body which shows exactly
 the line you want (and whatever else you want)
- Use a start region overlapping the body region and appropriately
 place an absolutely positioned block-container there so its solid
 right border is exactly the line you want.

There's code for the latter already in the archive, last year or so.
Any takers for digging it out and putting it into the FO samples
on the web site?

J.Pietschmann



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to