org.apache.fop.datatypes
Class Length
java.lang.Object
org.apache.fop.datatypes.Length
- Direct Known Subclasses:
- AutoLength, FixedLength, LinearCombinationLength, MixedLength, PercentLength, TableColLength
- public class Length
- extends Object
a length quantity in XSL
millipoints
protected int millipoints
bIsComputed
protected boolean bIsComputed
Length
public Length()
mvalue
public int mvalue()
- return the length in 1/1000ths of a point
computeValue
protected void computeValue()
setComputedValue
protected void setComputedValue(int millipoints)
setComputedValue
protected void setComputedValue(int millipoints,
boolean bSetComputed)
isAuto
public boolean isAuto()
isComputed
public boolean isComputed()
getTableUnits
public double getTableUnits()
- 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".
- Returns:
- The number of table units which are included in this
length specification.
resolveTableUnit
public void resolveTableUnit(double dTableUnit)
asNumeric
public Numeric asNumeric()
toString
public String toString()
Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.