HyphenationOptions

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

NameTypeAccessDescription
autoHyphenationbooleanRead/WriteGets or sets value determining whether automatic hyphenation is turned on for the document.
consecutiveHyphenLimitintRead/WriteGets or sets the maximum number of consecutive lines that can end with hyphens.
hyphenationZoneintRead/WriteGets or sets the distance in 1/20 of a point from the right margin within which you do not want to hyphenate words.
hyphenateCapsbooleanRead/WriteGets or sets value determining whether words written in all capital letters are hyphenated.

Methods

SignatureDescription
getAutoHyphenation() → booleanGets or sets value determining whether automatic hyphenation is turned on for the document.
setAutoHyphenation(value: boolean)Sets the auto hyphenation value.
getConsecutiveHyphenLimit() → intGets or sets the maximum number of consecutive lines that can end with hyphens.
setConsecutiveHyphenLimit(value: int)Sets the consecutive hyphen limit value.
getHyphenationZone() → intGets 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() → booleanGets or sets value determining whether words written in all capital letters are hyphenated.
setHyphenateCaps(value: boolean)Sets the hyphenate caps value.

See Also