Inheritance from fo:table-column

The XSL-FO spec provides the from-table-column() function, but this is 
not very useful because to make all inheritable properties on 
fo:table-column effective, it is necessary to specify a lot of 
X="from-table-column(X)" on each fo:table-cell such as:

<fo:table-cell
  color="from-table-column(color)"
  font-family="from-table-column(font-family)"
  font-size="from-table-column(font-size)"
  font-style="from-table-column(font-style)"
  font-variant="from-table-column(font-variant)"
  font-weight="from-table-column(font-weight)"
  line-height="from-table-column(line-height)"
  text-align="from-table-column(text-align)"
  display-align="from-table-column(display-align)"
  ...>

I think the property inheritance from fo:table-column to fo:table-cell 
should be a normal behavior and it should be able to be achieved 
easily.

In my understanding the table model has the following layers:

    table -> table-column -> table-header/footer/body -> table-row -> 
table-cell

This layer order should also be used for property inheritance to the 
table-cell. 
Is this bad idea?  Although the property inheritance is normally from 
ancestor FO, there are already some counterexamples in XSL-FO spec, 
fo:initial-property-set and fo:multi-property-set.

Please reconsider the following spec.

   6.7.4 fo:table-column
    ...
   Inheritable properties may also be specified on the fo:table-column.
   These can be referenced by the from-table-column() function in an
   expression. 

IMHO the above last sentence should NOT mean "ONLY by the from-table-
column()".


Regards,
Shinyu Murakami

Antenna House XSL Formatter - http://www.antennahouse.com

Received on Monday, 21 May 2001 12:29:44 UTC