org.apache.fop.fo.properties
Class LengthProperty
- Length, Numeric
public abstract class LengthProperty
Superclass for properties wrapping a Length value.
getCharacter , getColor , getCondLength , getEnum , getKeep , getLength , getLengthPair , getLengthRange , getList , getNCname , getNumber , getNumeric , getObject , getSpace , getSpecifiedValue , getString , isAuto , setSpecifiedValue , toString |
getDimension
public int getDimension()
- getDimension in interface Numeric
- the numeric dimension. Length always a dimension of 1.
getObject
public Object getObject()
- getObject in interface Property
- this.length cast as an Object
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".
- The number of table units which are included in this
length specification.
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.