Re: Border for text area in XSL-FO

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 UTC