fop 0.95

org.apache.fop.fo.properties
Class SpacingPropertyMaker

java.lang.Object
  extended by org.apache.fop.fo.properties.PropertyMaker
      extended by org.apache.fop.fo.properties.CompoundPropertyMaker
          extended by org.apache.fop.fo.properties.SpaceProperty.Maker
              extended by org.apache.fop.fo.properties.SpacingPropertyMaker
All Implemented Interfaces:
java.lang.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
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpacingPropertyMaker

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

Parameters:
propId - the id for property.
Method Detail

convertProperty

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

Overrides:
convertProperty in class SpaceProperty.Maker
Parameters:
p - The Property object return by the expression parser
propertyList - The PropertyList object being built for this FO.
fo - The parent FO for the FO whose property is being made.
Returns:
A Property of the correct type or null if the parsed value can't be converted to the correct type.
Throws:
PropertyException - for invalid or inconsistent FO input

fop 0.95

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