Package org.apache.fop.fo.properties
Class DimensionPropertyMaker
java.lang.Object
org.apache.fop.fo.properties.CorrespondingPropertyMaker
org.apache.fop.fo.properties.DimensionPropertyMaker
Dimensioned property maker.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDimensionPropertyMaker
(PropertyMaker baseMaker) Instantiate a dimension property maker. -
Method Summary
Modifier and TypeMethodDescriptioncompute
(PropertyList propertyList) Return a Property object representing the value of this property, based on other property values for this FO.boolean
isCorrespondingForced
(PropertyList propertyList) Determine if corresponding property is forced.void
setExtraCorresponding
(int[][] extraCorresponding) Set extra correspondences.Methods inherited from class org.apache.fop.fo.properties.CorrespondingPropertyMaker
getWMPropertyList, setCorresponding, setRelative, setUseParent
-
Constructor Details
-
DimensionPropertyMaker
Instantiate a dimension property maker.- Parameters:
baseMaker
- the base property maker
-
-
Method Details
-
setExtraCorresponding
public void setExtraCorresponding(int[][] extraCorresponding) Set extra correspondences.- Parameters:
extraCorresponding
- an array of four element integer arrays
-
isCorrespondingForced
Determine if corresponding property is forced.- Overrides:
isCorrespondingForced
in classCorrespondingPropertyMaker
- Parameters:
propertyList
- the property list to use- Returns:
- true if it is forced
-
compute
Return a Property object representing the value of this property, based on other property values for this FO. A special case is properties which inherit the specified value, rather than the computed value.- Overrides:
compute
in classCorrespondingPropertyMaker
- Parameters:
propertyList
- The PropertyList for the FO.- Returns:
- Property A computed Property value or null if no rules are specified (in foproperties.xml) to compute the value.
- Throws:
PropertyException
- if a property exception occurs
-