HyphenationOptions
Overview
HyphenationOptions is a class in Aspose.Words FOSS for Java.
Inherits from: Cloneable.
Allows to configure document hyphenation options.
Edition status of its 12 listed members (a property and its accessor methods are listed separately, overloads once): 12 not yet exercised by a verified example.
This class declares 8 methods for HyphenationOptions objects in Java programs.
Available methods include: getAutoHyphenation, getConsecutiveHyphenLimit, getHyphenateCaps, getHyphenationZone, setAutoHyphenation, setConsecutiveHyphenLimit, setHyphenateCaps, setHyphenationZone.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: autoHyphenation, consecutiveHyphenLimit, hyphenateCaps, hyphenationZone.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
autoHyphenation | boolean | Read/Write | Gets or sets value determining whether automatic hyphenation is turned on for the document. |
consecutiveHyphenLimit | int | Read/Write | Gets or sets the maximum number of consecutive lines that can end with hyphens. |
hyphenationZone | int | Read/Write | Gets or sets the distance in 1/20 of a point from the right margin within which you do not want to hyphenate words. |
hyphenateCaps | boolean | Read/Write | Gets or sets value determining whether words written in all capital letters are hyphenated. |
Methods
| Signature | Description |
|---|---|
getAutoHyphenation() → boolean | Gets or sets value determining whether automatic hyphenation is turned on for the document. |
setAutoHyphenation(value: boolean) | Sets the auto hyphenation value. |
getConsecutiveHyphenLimit() → int | Gets or sets the maximum number of consecutive lines that can end with hyphens. |
setConsecutiveHyphenLimit(value: int) | Sets the consecutive hyphen limit value. |
getHyphenationZone() → int | Gets or sets the distance in 1/20 of a point from the right margin within which you do not want to hyphenate words. |
setHyphenationZone(value: int) | Sets the hyphenation zone value. |
getHyphenateCaps() → boolean | Gets or sets value determining whether words written in all capital letters are hyphenated. |
setHyphenateCaps(value: boolean) | Sets the hyphenate caps value. |