>from-table-column() is currently unimplemented, 

implementing this was my primary goal when i stumbeld over the
omitted args handling.

>but it shouldn't be particularly hard,

so i thougt first, but i am not shure now.

>given:
>a) that the column-numbers are all properly initialized 

as far as i can see this cannot be assurred for table-cell with
the current code at the point this function is called.

>and b) the limited number of properties applicable to table-columns. 

Mybe i see something in the spec because i want to see it ;-) but 
read from the following:
"Inheritable properties may also be specified on the fo:table-column. 
These can be referenced by the from-table-column() function in an 
expression."

that table-columns is a countainer for _all_ inheritable properties and
i can use it in the following manner:

<fo:table>
 <fo:table-column width="5cm" text-align="left"/>
 <fo:table-column width="5cm" text-align="center"/>
 <fo:table-column width="5cm" text-align="right"/>
 <fo:table-body>
  <fo:table-row>
   <fo:table-cell>
    <fo:block text-align="from-table-column()"> ...


It would be nice to hear your opinion.


>... so it may be possible to map it to a call to the appropriate
>method in fo.flow.TableColumn...
>example: "from-table-column(1, 'border-start-width')" would trigger a call to 
>"((TableColumn) 
>Table.getColumns().get(0)).getBorderWidth(CommonBorderPaddingBackground.START)"

This way i didn't know - i'll hava a look at it.


thank you for all your hints and pointers
gerhard

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

Reply via email to