Package org.apache.poi.hwpf.usermodel
Enum Class OfficeDrawing.VerticalPositioning
java.lang.Object
java.lang.Enum<OfficeDrawing.VerticalPositioning>
org.apache.poi.hwpf.usermodel.OfficeDrawing.VerticalPositioning
- All Implemented Interfaces:
Serializable
,Comparable<OfficeDrawing.VerticalPositioning>
,Constable
- Enclosing interface:
OfficeDrawing
public static enum OfficeDrawing.VerticalPositioning
extends Enum<OfficeDrawing.VerticalPositioning>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe shape is vertically offset by an absolute distance from the page elementThe shape is vertically positioned at the bottom of the page elementThe shape is vertically positioned in the center of the page elementThe shape is vertically positioned like msopvTop on odd-numbered pages and like msopvBottom on even-numbered pagesThe shape is vertically positioned at the top of the page element -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static OfficeDrawing.VerticalPositioning[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ABSOLUTE
The shape is vertically offset by an absolute distance from the page element -
BOTTOM
The shape is vertically positioned at the bottom of the page element -
CENTER
The shape is vertically positioned in the center of the page element -
INSIDE
The shape is vertically positioned like msopvTop on odd-numbered pages and like msopvBottom on even-numbered pages -
OUTSIDE
-
TOP
The shape is vertically positioned at the top of the page element
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-