public class LineHeightPropertyMaker extends SpaceProperty.Maker
contextDep, corresponding, defaultProperty, defaultValue, propId, setByShorthand| Constructor and Description |
|---|
LineHeightPropertyMaker(int propId)
Create a maker for line-height.
|
| Modifier and Type | Method and Description |
|---|---|
protected Property |
compute(PropertyList propertyList)
Recalculate the line-height value based on the nearest specified
value.
|
Property |
convertProperty(Property p,
PropertyList propertyList,
FObj fo)
Return a Property object based on the passed Property object.
|
Property |
make(PropertyList propertyList,
String value,
FObj fo)
Create a Property object from an attribute specification.
|
makeNewPropertyaddSubpropMaker, checkEnumValues, get, getSubpropMaker, make, make, makeCompound, useGenericaddEnum, addKeyword, addShorthand, checkValueKeywords, clone, convertPropertyDatatype, convertShorthandProperty, findProperty, getName, getPercentBase, getPropId, getShorthand, getSubprop, isInherited, setByShorthand, setCorresponding, setDatatypeParser, setDefault, setDefault, setInherited, setPercentBase, setSubproppublic LineHeightPropertyMaker(int propId)
propId - the is for linehight.public Property make(PropertyList propertyList, String value, FObj fo) throws PropertyException
make in class CompoundPropertyMakerpropertyList - The PropertyList object being built for this FO.value - The attribute value.fo - The parent FO for the FO whose property is being made.PropertyException - for invalid or inconsistent FO inputprotected Property compute(PropertyList propertyList) throws PropertyException
compute in class PropertyMakerpropertyList - The PropertyList for the FO.PropertyException - for invalid or inconsistent FO inputpublic Property convertProperty(Property p, PropertyList propertyList, FObj fo) throws PropertyException
convertProperty in class SpaceProperty.Makerp - The Property object return by the expression parserpropertyList - The PropertyList object being built for this FO.fo - The parent FO for the FO whose property is being made.PropertyException - for invalid or inconsistent FO inputCopyright © 2023 Apache Software Foundation. All rights reserved.