public class HyphenationOptions
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAutoHyphenation()
Gets value determining whether automatic hyphenation is turned on for the document.
|
int |
getConsecutiveHyphenLimit()
Gets the maximum number of consecutive lines that can end with hyphens.
|
boolean |
getHyphenateCaps()
Gets value determining whether words written in all capital letters are hyphenated.
|
int |
getHyphenationZone()
Gets the distance in 1/20 of a point from the right margin within which you do not want to hyphenate words.
|
protected java.lang.Object |
memberwiseClone() |
void |
setAutoHyphenation(boolean value)
Sets value determining whether automatic hyphenation is turned on for the document.
|
void |
setConsecutiveHyphenLimit(int value)
Sets the maximum number of consecutive lines that can end with hyphens.
|
void |
setHyphenateCaps(boolean value)
Sets value determining whether words written in all capital letters are hyphenated.
|
void |
setHyphenationZone(int value)
Sets the distance in 1/20 of a point from the right margin within which you do not want to hyphenate words.
|
public boolean getAutoHyphenation()
public void setAutoHyphenation(boolean value)
value - Value determining whether automatic hyphenation is turned on for the document.public int getConsecutiveHyphenLimit()
If value of this property is set to 0, any number of consecutive lines can end with hyphens.
The property does not have effect when saving to fixed page formats e.g. PDF.
public void setConsecutiveHyphenLimit(int value)
If value of this property is set to 0, any number of consecutive lines can end with hyphens.
The property does not have effect when saving to fixed page formats e.g. PDF.
value - The maximum number of consecutive lines that can end with hyphens.public int getHyphenationZone()
public void setHyphenationZone(int value)
value - The distance in 1/20 of a point from the right margin within which you do not want to hyphenate words.public boolean getHyphenateCaps()
public void setHyphenateCaps(boolean value)
value - Value determining whether words written in all capital letters are hyphenated.protected java.lang.Object memberwiseClone()