W3C home > Mailing lists > Public > www-xsl-fo@w3.org > September 2003

RE: Column variable

From: Victor Vishnyakov <tch_@mail.ru>
Date: Mon, 22 Sep 2003 18:44:33 +0300
To: "'Michelle Aiken'" <michelleaiken@mailblocks.com>, <www-xsl-fo@w3.org>
You may try using embeded tables( lists ) or vary inside blocks margins.

-----Original Message-----
From: www-xsl-fo-request@w3.org [mailto:www-xsl-fo-request@w3.org] On
Behalf Of Michelle Aiken
Sent: Friday, September 19, 2003 9:58 PM
To: www-xsl-fo@w3.org
Subject: Column variable

This is my region body statement: 

<fo:region-body margin=".9cm" column-count="4" column-gap=".1cm"/> 

This is my region body definition: 

<fo:flow flow-name="xsl-region-body"> 
            <fo:table-column column-width="3.5cm"/> 
            <fo:table-column column-width="2.5cm"/> 
            <fo:table-column column-width="1cm"/> 
                    <xsl:apply-templates select="Cont"/> 

Is there a variable that would let me know which column I'm in (of the 4
region-body columns - not the table columns)? 

I am trying to figure out a way to have varying spacing between the 4
columns.  I would like to do this by varying the width of the last
column in the table (it's an empty column).

For example, something like: 

<fo:table-column column-width="(((column_number() mod 4) mod 3 - 1)*2 +

Would give me a 3cm gap between the 2nd and 3rd column and a 1cm gap
between the other columns. 
Received on Monday, 22 September 2003 11:39:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:28 UTC