Package org.apache.fop.fo.properties
Class SpacePropertyMaker
- java.lang.Object
-
- org.apache.fop.fo.properties.CorrespondingPropertyMaker
-
- org.apache.fop.fo.properties.SpacePropertyMaker
-
public class SpacePropertyMaker extends CorrespondingPropertyMaker
Special CorrespondingPropertyMaker that sets the conditionality subproperty correctly for space-* properties.
-
-
Constructor Summary
Constructors Constructor Description SpacePropertyMaker(PropertyMaker baseMaker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Property
compute(PropertyList propertyList)
Return a Property object representing the value of this property, based on other property values for this FO.-
Methods inherited from class org.apache.fop.fo.properties.CorrespondingPropertyMaker
getWMPropertyList, isCorrespondingForced, setCorresponding, setRelative, setUseParent
-
-
-
-
Constructor Detail
-
SpacePropertyMaker
public SpacePropertyMaker(PropertyMaker baseMaker)
- Parameters:
baseMaker
- base property maker
-
-
Method Detail
-
compute
public Property compute(PropertyList propertyList) throws PropertyException
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
-
-