java.lang.Object
com.aspose.words.JustificationMode
public class JustificationMode
- extends java.lang.Object
Utility class containing constants.
Specifies the character spacing adjustment for a document.
The default value is Expand.
Example:
Shows how to manage character spacing control.
Document doc = new Document(getMyDir() + "Document.docx");
int justificationMode = doc.getJustificationMode();
if (justificationMode == JustificationMode.EXPAND)
doc.setJustificationMode(JustificationMode.COMPRESS);
doc.save(getArtifactsDir() + "Document.SetJustificationMode.docx");
|
Field Summary |
static final int | EXPAND = 0 | |
|
Do not compress character spacing.
|
static final int | COMPRESS = 1 | |
|
Compress character spacing.
|
static final int | COMPRESS_KANA = 2 | |
|
Compress, using rules of the kana syllabaries, Hiragana and Katakana.
|
EXPAND = 0 | |
public static final int EXPAND |
-
Do not compress character spacing.
COMPRESS = 1 | |
public static final int COMPRESS |
-
Compress character spacing.
COMPRESS_KANA = 2 | |
public static final int COMPRESS_KANA |
-
Compress, using rules of the kana syllabaries, Hiragana and Katakana.
See Also:
Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
Aspose.Words Support Forum - our preferred method of support.