com.acesoft.aceoffix.wordwriter
Enum WdParagraphAlignment

java.lang.Object
  extended by java.lang.Enum<WdParagraphAlignment>
      extended by com.acesoft.aceoffix.wordwriter.WdParagraphAlignment
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<WdParagraphAlignment>

public enum WdParagraphAlignment
extends java.lang.Enum<WdParagraphAlignment>

The paragraph alignment defined in the Microsoft Word.

Version:
5.0
Author:
Acesoft Corporation

Enum Constant Summary
wdAlignParagraphCenter
          Centers text.
wdAlignParagraphLeft
          Aligns text left.
wdAlignParagraphRight
          Aligns text right.
 
Method Summary
static WdParagraphAlignment valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static WdParagraphAlignment[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

wdAlignParagraphLeft

public static final WdParagraphAlignment wdAlignParagraphLeft
Aligns text left.


wdAlignParagraphCenter

public static final WdParagraphAlignment wdAlignParagraphCenter
Centers text.


wdAlignParagraphRight

public static final WdParagraphAlignment wdAlignParagraphRight
Aligns text right.

Method Detail

values

public static WdParagraphAlignment[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (WdParagraphAlignment c : WdParagraphAlignment.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static WdParagraphAlignment valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null