Package org.apache.fop.fo.properties
Class SpacingPropertyMaker
java.lang.Object
org.apache.fop.fo.properties.PropertyMaker
org.apache.fop.fo.properties.CompoundPropertyMaker
org.apache.fop.fo.properties.SpaceProperty.Maker
org.apache.fop.fo.properties.SpacingPropertyMaker
- All Implemented Interfaces:
Cloneable
A maker which creates 'letter-spacing' and 'word-spacing' properties.
These two properties properties are standard space properties with
additinal support for the 'normal' enum value.
-
Field Summary
Fields inherited from class org.apache.fop.fo.properties.PropertyMaker
contextDep, corresponding, defaultProperty, defaultValue, propId, setByShorthand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertProperty
(Property p, PropertyList propertyList, FObj fo) Support for the 'normal' value.Methods inherited from class org.apache.fop.fo.properties.SpaceProperty.Maker
makeNewProperty
Methods inherited from class org.apache.fop.fo.properties.CompoundPropertyMaker
addSubpropMaker, checkEnumValues, get, getSubpropMaker, make, make, make, makeCompound, useGeneric
Methods inherited from class org.apache.fop.fo.properties.PropertyMaker
addEnum, addKeyword, addShorthand, checkValueKeywords, clone, compute, convertPropertyDatatype, convertShorthandProperty, findProperty, getName, getPercentBase, getPropId, getShorthand, getSubprop, isInherited, setByShorthand, setCorresponding, setDatatypeParser, setDefault, setDefault, setInherited, setPercentBase, setSubprop
-
Constructor Details
-
SpacingPropertyMaker
public SpacingPropertyMaker(int propId) Create a maker for [letter|word]-spacing.- Parameters:
propId
- the id for property.
-
-
Method Details
-
convertProperty
public Property convertProperty(Property p, PropertyList propertyList, FObj fo) throws PropertyException Support for the 'normal' value.- Overrides:
convertProperty
in classSpaceProperty.Maker
- Parameters:
p
- the property to convertpropertyList
- the property list to use in conversionfo
- the FO to use in conversion- Returns:
- the converted property
- Throws:
PropertyException
- if a property conversion exception occurs
-