|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<LineSpacingRule> org.apache.poi.xwpf.usermodel.LineSpacingRule
public enum LineSpacingRule
Specifies the logic which shall be used to calculate the line spacing of the parent object when it is displayed in the document.
Enum Constant Summary | |
---|---|
AT_LEAST
Specifies that the height of the line shall be at least the value specified, but may be expanded to fit its content as needed. |
|
AUTO
Specifies that the line spacing of the parent object shall be automatically determined by the size of its contents, with no predetermined minimum or maximum size. |
|
EXACT
Specifies that the height of the line shall be exactly the value specified, regardless of the size of the contents If the contents are too large for the specified height, then they shall be clipped as necessary. |
Method Summary | |
---|---|
int |
getValue()
|
static LineSpacingRule |
valueOf(int type)
|
static LineSpacingRule |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static LineSpacingRule[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final LineSpacingRule AUTO
public static final LineSpacingRule EXACT
public static final LineSpacingRule AT_LEAST
Method Detail |
---|
public static LineSpacingRule[] values()
for (LineSpacingRule c : LineSpacingRule.values()) System.out.println(c);
public static LineSpacingRule valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic int getValue()
public static LineSpacingRule valueOf(int type)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |