public class JustificationMode
extends java.lang.Object
Expand.
Examples:
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");
| Modifier and Type | Field and Description |
|---|---|
static int |
COMPRESS
Compress character spacing.
|
static int |
COMPRESS_KANA
Compress, using rules of the kana syllabaries, Hiragana and Katakana.
|
static int |
EXPAND
Do not compress character spacing.
|
static int |
length |
| Modifier and Type | Method and Description |
|---|---|
static int |
fromName(java.lang.String justificationModeName) |
static java.lang.String |
getName(int justificationMode) |
static int[] |
getValues() |
static java.lang.String |
toString(int justificationMode) |