org.apache.fop.fo.properties
Class LineHeightMaker
java.lang.Object
|
+--org.apache.fop.fo.Property.Maker
|
+--org.apache.fop.fo.LengthProperty.Maker
|
+--org.apache.fop.fo.properties.LineHeightMaker
- public class LineHeightMaker
- extends LengthProperty.Maker
Methods inherited from class org.apache.fop.fo.Property.Maker |
checkEnumValues,
compute,
convertShorthandProperty,
getPropName,
getShorthand,
getSubpropMaker,
getSubpropValue,
isCompoundMaker,
isCorrespondingForced,
make,
make,
makeCompound,
setSubprop |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
LineHeightMaker
protected LineHeightMaker(java.lang.String name)
maker
public static Property.Maker maker(java.lang.String propName)
isInherited
public boolean isInherited()
- Description copied from class: Property.Maker
- Default implementation of isInherited.
- Overrides:
- isInherited in class Property.Maker
- Tags copied from class: Property.Maker
- Returns:
- A boolean indicating whether this property is inherited.
inheritsSpecified
public boolean inheritsSpecified()
- Description copied from class: Property.Maker
- Return a boolean indicating whether this property inherits the
"specified" value rather than the "computed" value. The default is
to inherit the "computed" value.
- Overrides:
- inheritsSpecified in class Property.Maker
- Tags copied from class: Property.Maker
- Returns:
- If true, property inherits the value specified.
make
public Property make(PropertyList propertyList)
throws FOPException
- Description copied from class: Property.Maker
- Return a Property object representing the initial value.
- Overrides:
- make in class Property.Maker
- Tags copied from class: Property.Maker
- Parameters:
propertyList
- The PropertyList object being built for this FO.
checkValueKeywords
protected java.lang.String checkValueKeywords(java.lang.String keyword)
- Description copied from class: Property.Maker
- Return a String to be parsed if the passed value corresponds to
a keyword which can be parsed and used to initialize the property.
For example, the border-width family of properties can have the
initializers "thin", "medium", or "thick". The foproperties.xml
file specifies a length value equivalent for these keywords,
such as "0.5pt" for "thin". These values are considered parseable,
since the Length object is no longer responsible for parsing
unit expresssions.
- Overrides:
- checkValueKeywords in class Property.Maker
- Tags copied from class: Property.Maker
- Parameters:
value
- The string value of property attribute.- Returns:
- A String containging a parseable equivalent or null if
the passed value isn't a keyword initializer for this Property.
convertPropertyDatatype
protected Property convertPropertyDatatype(Property p,
PropertyList propertyList,
FObj fo)
- Overrides:
- convertPropertyDatatype in class Property.Maker
getPercentBase
public PercentBase getPercentBase(FObj fo,
PropertyList propertyList)
- Return object used to calculate base Length
for percent specifications.
- Overrides:
- getPercentBase in class Property.Maker
Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.