[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] FO border-end-width conditionality discard


Subject: Re: [xsl] FO border-end-width conditionality discard
From: Karl Stubsjoen <kstubs@xxxxxxxxx>
Date: Sun, 25 Jan 2009 18:03:04 -0700

Consider:

(begin report)
page-sequence
  block 1px solid border
  block 1px solid border
  block 1px solid border
  block 1px solid border
page-sequence
  block 1px solid border
  block 1px solid border
  block 1px solid border
  block 1px solid border
page-sequence
  block 1px solid border
  block 1px solid border
  block 1px solid border
  block 1px solid border
(end report)

How do you discard the border for the last block object in each
page-sequence above?

On Sun, Jan 25, 2009 at 4:44 PM, G. Ken Holman
<gkholman@xxxxxxxxxxxxxxxxxxxx> wrote:
> At 2009-01-25 15:40 -0700, Karl Stubsjoen wrote:
>>
>> I need help with border-end-width conditionality.  I think this is
>> what I need.
>
> I'm not sure it can help you from your description.
>
>> The below table-row is the last in a set of table-rows.
>> The table will repeat many times on the page.  So, this last table-row
>> block border needs to be discarded when it appears last on each page.
>
> Conditionality only applies to the border edge when it is the last area on
> the page, not the last formatting object on the page.  Its default is
> "discard", so you only need to specify something when you want to retain the
> border.
>
>> Am I doing this right?  Must not be, it isn't working for me.
>>
>>
>>                    <table-row>
>>                        <table-cell number-columns-spanned="5">
>>                            <block
>> border-end-width.conditionality="discard" border="solid 1px #000">
>>                                <leader />
>>                            </block>
>>                        </table-cell>
>>                    </table-row>
>
> If you have any areas at all after this on the page, the border will not be
> discarded.
>
> Otherwise, I cannot interpret your situation well enough from your
> description to know what is going on.
>
> I hope this helps.
>
> . . . . . . . . . . Ken
>
> --
> Upcoming XSLT/XSL-FO, UBL and code list hands-on training classes:
> :  Sydney, AU 2009-01/02; Brussels, BE 2009-03; Prague, CZ 2009-03
> Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
> Video lesson:    http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18
> Video overview:  http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18
> G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
> Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
> Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/s/bc
> Legal business disclaimers:  http://www.CraneSoftwrights.com/legal


Current Thread