>>B1) I filed a bug (38244) of a possible including of
>>    number-columns-spanned into the addColumn (in a early state i
>>    have to confess) that only changes two things:

> from  Andreas L. Delmelle

> I see you made the same mistake (?) in interpretation of the
> Rec that I initially made: the Rec states literally that "the
> column-number for a fo:table-column is 1 plus the column-number
> of the previous column"

Literaly you are absolutly right especially if reading the spec
to column-number (7.26.8) first. My main argument against this is
the description of number-columns-repeated (7.26.12) that says:

a) The "number-columns-repeated" property specifies the
repetition of a table-column specification n times; with the same
effect as if the fo:table-column formatting object had been
repeated n times in the result treewith the same effect as if the
fo:table-column formatting object had been repeated n times in
the result tree.

and b) The "column-number" property, for all but the first, is
the column-number of the previous one plus its value of the
"number-columns-spanned" property.

now verify a)

<fo:table-column number-columns-spanned="2" 
number-columns-repeated="2"/> [ initial colnum = default = "1" ]
would be expanded according to b) to:
<fo:table-column number-columns-spanned="2"/> [ colnum = "1" ]
<fo:table-column number-columns-spanned="2"/> [ colnum = "3" ]
<fo:table-column number-columns-spanned="2"/> [ colnum = "5" ]

in comparison with:"with the same effect as if the
fo:table-column formatting object had been repeated n times in
the result tree"

<fo:table-column number-columns-spanned="2"/> [ colnum = "1" ]
<fo:table-column number-columns-spanned="2"/> [ colnum = "2" ]
<fo:table-column number-columns-spanned="2"/> [ colnum = "3" ]

You see the two parts of the spec are not compatible and for this
case i would prefere the rule that was given at
column-numbers-repeat. As a side-effect the verification-example
would produce overlapping table-columns.

My sight could be wrong, but I think it is a good argument ;-)


gerhard

-- 
 .''`.   gerhard oettl   on   Debian/Gnu Linux
: :'  :  
`. `'`   gpg key: 1024D/D59131AA 2002-06-18
  `-

Reply via email to