JustificationMode

JustificationMode

Overview

JustificationMode is an enum in Aspose.Words FOSS for Java.

Specifies the character spacing adjustment for a document.

Edition status of its 8 listed members (a property and its accessor methods are listed separately, overloads once): 8 not yet exercised by a verified example.

This enum declares 4 methods for JustificationMode objects in Java programs. Available methods include: fromName, getName, getValues, toString. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: values.

Values

ValueDescription
EXPANDDo not compress character spacing.
COMPRESSCompress character spacing.
COMPRESS_KANACompress, using rules of the kana syllabaries, Hiragana and Katakana.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of JustificationMode values.

Methods

SignatureDescription
getName(justificationMode: int) → StringReturns JAVA_STYLE string representation of integer JustificationMode value.
toString(justificationMode: int) → StringReturns DotNetStyle string representation of integer JustificationMode value.
fromName(justificationModeName: String) → intReturns integer representation by JustificationMode name.
getValues() → int[]Returns array of JustificationMode values.

See Also