org.apache.fop.fo.properties

Class SpacingPropertyMaker

Implemented Interfaces:
Cloneable

public class SpacingPropertyMaker
extends SpaceProperty.Maker

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

SpacingPropertyMaker(int propId)
Create a maker for [letter|word]-spacing.

Method Summary

Property
convertProperty(Property p, PropertyList propertyList, FObj fo)
Support for the 'normal' value.

Methods inherited from class org.apache.fop.fo.properties.SpaceProperty.Maker

convertProperty, makeNewProperty

Methods inherited from class org.apache.fop.fo.properties.CompoundPropertyMaker

addSubpropMaker, checkEnumValues, convertProperty, get, getSubpropMaker, make, make, make, makeCompound, useGeneric

Methods inherited from class org.apache.fop.fo.properties.PropertyMaker

addEnum, addKeyword, addShorthand, addSubpropMaker, checkEnumValues, checkValueKeywords, clone, compute, convertProperty, convertPropertyDatatype, convertShorthandProperty, findProperty, get, getName, getPercentBase, getPropId, getShorthand, getSubprop, getSubpropMaker, isInherited, make, make, make, makeNewProperty, setByShorthand, setCorresponding, setDatatypeParser, setDefault, setDefault, setInherited, setPercentBase, setSubprop, useGeneric

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 interface SpaceProperty.Maker

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.