public enum BreakClear extends java.lang.Enum<BreakClear>
Enum Constant and Description |
---|
ALL
Specifies that the text wrapping break shall advance the text to the next
line in the WordprocessingML document which spans the full width of the
line.
|
LEFT
Specifies that the text wrapping break shall behave as follows:
If this line is broken into multiple regions (a floating object in
the center of the page has text wrapping on both sides:
If this is the leftmost region of text flow on this line, advance
the text to the next position on the line
Otherwise, treat this as a text wrapping break of type all.
|
NONE
Specifies that the text wrapping break shall advance the text to the next
line in the WordprocessingML document, regardless of its position left to
right or the presence of any floating objects which intersect with the
line,
This is the setting for a typical line break in a document.
|
RIGHT
Specifies that the text wrapping break shall behave as follows:
If this line is broken into multiple regions (a floating object in
the center of the page has text wrapping on both sides:
If this is the rightmost region of text flow on this line, advance
the text to the next position on the next line
Otherwise, treat this as a text wrapping break of type all.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static BreakClear |
valueOf(int type) |
static BreakClear |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BreakClear[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BreakClear NONE
public static final BreakClear LEFT
public static final BreakClear RIGHT
public static final BreakClear ALL
public static BreakClear[] values()
for (BreakClear c : BreakClear.values()) System.out.println(c);
public static BreakClear 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 namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public static BreakClear valueOf(int type)
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.