W3C home > Mailing lists > Public > www-xsl-fo@w3.org > January 2010

Re: Border for text area in XSL-FO

From: MURAKAMI Shinyu <murakami@antenna.co.jp>
Date: Wed, 20 Jan 2010 15:06:26 +0900
To: www-xsl-fo@w3.org
Message-Id: <20100120150626.B64B.C598BCD7@antenna.co.jp>
Hi,

Aish <aiswarya@laserwords.com> wrote on 2010/01/19 18:35:03
> I have created a two column page fo using xslt. One of my fo:block extends
> to 3 pages. I need to display border lines in all sides for that block. When
> i tried to set, i found that top and bottom borders are getting set only at
> the start and end of the blocks respectively and not in all the pages. I
> need to set in all pages.. Any Guidance?? 

You can specify .conditionality component with value "retain" 
for the border-before-width and border-after-width properties.
for example:

      <fo:block
        border-before-style="solid" border-before-width="3pt" 
        border-before-width.conditionality="retain"
        border-after-style="solid" border-after-width="3pt" 
        border-after-width.conditionality="retain"
        border-start-style="solid" border-start-width="3pt"
        border-end-style="solid" border-end-width="3pt"
      ...

Hope this helps.

-- 
Shinyu Murakami
Antenna House Formatter team
http://www.antennahouse.com
Received on Wednesday, 20 January 2010 06:06:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 20 January 2010 06:07:00 GMT