org.apache.fop.datatypes
Class MixedLength
java.lang.Object
org.apache.fop.datatypes.Length
org.apache.fop.datatypes.MixedLength
- public class MixedLength
- extends Length
A length quantity in XSL which is specified with a mixture
of absolute and relative and/or percent components.
The actual value may not be computable before layout is done.
Constructor Summary |
MixedLength(java.util.ArrayList lengths)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MixedLength
public MixedLength(java.util.ArrayList lengths)
computeValue
protected void computeValue()
- Overrides:
computeValue
in class Length
getTableUnits
public double getTableUnits()
- Description copied from class:
Length
- Return the number of table units which are included in this
length specification.
This will always be 0 unless the property specification used
the proportional-column-width() function (only only table
column FOs).
If this value is not 0, the actual value of the Length cannot
be known without looking at all of the columns in the table to
determine the value of a "table-unit".
- Overrides:
getTableUnits
in class Length
- Returns:
- The number of table units which are included in this
length specification.
resolveTableUnit
public void resolveTableUnit(double dTableUnit)
- Overrides:
resolveTableUnit
in class Length
toString
public java.lang.String toString()
- Overrides:
toString
in class Length
asNumeric
public Numeric asNumeric()
- Overrides:
asNumeric
in class Length
Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.