Interface Length

All Superinterfaces:
Numeric
All Known Implementing Classes:
EnumLength, FixedLength, LengthProperty, NumericProperty, PercentLength, RelativeNumericProperty, TableColLength

public interface Length extends Numeric
A length quantity in XSL
  • Method Details

    • getValue

      int getValue()
      Returns the length in 1/1000ths of a point (millipoints)
      Specified by:
      getValue in interface Numeric
      Returns:
      the length in millipoints
    • getValue

      int getValue(PercentBaseContext context)
      Returns the length in 1/1000ths of a point (millipoints)
      Specified by:
      getValue in interface Numeric
      Parameters:
      context - The context for the length calculation (for percentage based lengths)
      Returns:
      the length in millipoints