Top Description Fields Constructors Methods
org.apache.poi.sl.usermodel

public final Enum VerticalAlignment

extends Enum<VerticalAlignment>
Class Inheritance

Specifies a list of available anchoring types for text

Field Summary

Modifier and TypeField and Description
public static final VerticalAlignment
BOTTOM

Anchor the text at the bottom of the bounding rectangle.

public static final VerticalAlignment
DISTRIBUTED

Anchor the text so that it is distributed vertically.

public static final VerticalAlignment
JUSTIFIED

Anchor the text so that it is justified vertically.

public static final VerticalAlignment
MIDDLE

Anchor the text at the middle of the bounding rectangle

public static final VerticalAlignment
TOP

Anchor the text at the top of the bounding rectangle

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static VerticalAlignment
public static VerticalAlignment[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

BOTTOMback to summary
public static final VerticalAlignment BOTTOM

Anchor the text at the bottom of the bounding rectangle.

DISTRIBUTEDback to summary
public static final VerticalAlignment DISTRIBUTED

Anchor the text so that it is distributed vertically.

When text is horizontal, this spaces out the actual lines of text and is almost always identical in behavior to JUSTIFIED (special case: if only 1 line, then anchored in middle).

When text is vertical, then it distributes the letters vertically. This is different than JUSTIFIED, because it always forces distribution of the words, even if there are only one or two words in a line.

JUSTIFIEDback to summary
public static final VerticalAlignment JUSTIFIED

Anchor the text so that it is justified vertically.

When text is horizontal, this spaces out the actual lines of text and is almost always identical in behavior to DISTRIBUTED (special case: if only 1 line, then anchored at top).

When text is vertical, then it justifies the letters vertically. This is different than DISTRIBUTED, because in some cases such as very little text in a line, it will not justify.

MIDDLEback to summary
public static final VerticalAlignment MIDDLE

Anchor the text at the middle of the bounding rectangle

TOPback to summary
public static final VerticalAlignment TOP

Anchor the text at the top of the bounding rectangle

Constructor Detail

VerticalAlignmentback to summary
private VerticalAlignment()

Method Detail

valueOfback to summary
public static VerticalAlignment valueOf(String name)
valuesback to summary
public static VerticalAlignment[] values()