org.apache.fop.datatypes
Class LengthBase
java.lang.Object
org.apache.fop.datatypes.LengthBase
- PercentBase
public class LengthBase
extends java.lang.Object
Models a length which can be used as a factor in a percentage length
calculation
ALIGNMENT_ADJUST
public static final int ALIGNMENT_ADJUST
constant for a alignment adjust percent-based length
CONTAINING_BLOCK_HEIGHT
public static final int CONTAINING_BLOCK_HEIGHT
constant for a containing block percent-based length
CONTAINING_BLOCK_WIDTH
public static final int CONTAINING_BLOCK_WIDTH
constant for a containing block percent-based length
CONTAINING_REFAREA_WIDTH
public static final int CONTAINING_REFAREA_WIDTH
constant for a containing refarea percent-based length
CUSTOM_BASE
public static final int CUSTOM_BASE
constant for a custom percent-based length
FONTSIZE
public static final int FONTSIZE
constant for a font-size percent-based length
IMAGE_BACKGROUND_POSITION_HORIZONTAL
public static final int IMAGE_BACKGROUND_POSITION_HORIZONTAL
constant for a image background position horizontal percent-based length
IMAGE_BACKGROUND_POSITION_VERTICAL
public static final int IMAGE_BACKGROUND_POSITION_VERTICAL
constant for a image background position vertical percent-based length
IMAGE_INTRINSIC_HEIGHT
public static final int IMAGE_INTRINSIC_HEIGHT
constant for a image intrinsic percent-based length
IMAGE_INTRINSIC_WIDTH
public static final int IMAGE_INTRINSIC_WIDTH
constant for a image intrinsic percent-based length
INH_FONTSIZE
public static final int INH_FONTSIZE
constant for an inh font-size percent-based length
PARENT_AREA_WIDTH
public static final int PARENT_AREA_WIDTH
constant for a containing box percent-based length
TABLE_UNITS
public static final int TABLE_UNITS
constant for a table-unit-based length
fobj
protected FObj fobj
The FO for which this property is to be calculated.
log
protected static Log log
logging instance
LengthBase
public LengthBase(PropertyList plist,
int baseType)
throws PropertyException
Constructor
plist
- property list for thisbaseType
- a constant defining the type of teh percent base
getBaseValue
public double getBaseValue()
- getBaseValue in interface PercentBase
- the base value of this object (always 1.0)
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.