org.apache.fop.fo.properties
Class CommonHyphenation
java.lang.Object
org.apache.fop.fo.properties.CommonHyphenation
public final class CommonHyphenation
extends java.lang.Object
Store all common hyphenation properties.
See Sec. 7.9 of the XSL-FO Standard.
Public "structure" allows direct member access.
hyphenate
public final EnumProperty hyphenate
The "hyphenate" property
hyphenationCharacter
public final CharacterProperty hyphenationCharacter
The "hyphenation-character" property
hyphenationPushCharacterCount
public final NumberProperty hyphenationPushCharacterCount
The "hyphenation-push-character-count" property
hyphenationRemainCharacterCount
public final NumberProperty hyphenationRemainCharacterCount
The "hyphenation-remain-character-count" property
log
protected static Log log
Logger
equals
public boolean equals(Object obj)
getHyphChar
public char getHyphChar(Font font)
Returns the effective hyphenation character for a font. The hyphenation character specified
in XSL-FO may be substituted if it's not available in the font.
- the effective hyphenation character.
getHyphIPD
public int getHyphIPD(Font font)
Returns the IPD for the hyphenation character for a font.
- the IPD in millipoints for the hyphenation character.
getInstance
public static CommonHyphenation getInstance(PropertyList propertyList)
throws PropertyException
Gets the canonical CommonHyphenation
instance corresponding
to the values of the related properties present on the given
PropertyList
propertyList
- the PropertyList
hashCode
public int hashCode()
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.