SourceForge.net Logo
aXSL API 0.2

org.axsl.fo.fo.prop
Interface ColumnWidthPa

All Known Subinterfaces:
TableColumn

public interface ColumnWidthPa

The XSL-FO column-width property.


Method Summary
 int traitColumnWidth(FoContext context)
          Returns the "column-width" trait for this FO.
 double traitColumnWidthTableUnits()
          Returns the number of column-width table units in this table column.
 

Method Detail

traitColumnWidth

int traitColumnWidth(FoContext context)
Returns the "column-width" trait for this FO. Caveat: This is the nominal width, which may differ from the resolved width in the AreaTree.

Parameters:
context - An object that knows how to resolve FO Tree context issues.
Returns:
The nominal "column-width" for the column, in millipoints.
See Also:
"XSL-FO 1.0, Section 7.26.9", "XSL-FO 1.1, Section 7.28.9"

traitColumnWidthTableUnits

double traitColumnWidthTableUnits()
Returns the number of column-width table units in this table column.

Returns:
The number of column-width table units specified for this column. This value is used to proportionally divide available column width between columns.

SourceForge.net Logo
aXSL API 0.2

This documentation was created August 8 2007 by The aXSL Group and may be freely copied. See license for details.