com.acesoft.aceoffix.wordwriter
Enum WdAutoFitBehavior

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

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

Specifies how Microsoft Word resizes a table when the AutoFit feature is used.

Version:
5.0
Author:
Acesoft Corporation

Enum Constant Summary
wdAutoFitContent
          The table is automatically sized to fit the content contained in the table.
wdAutoFitFixed
          The table is set to a fixed size, regardless of the content, and is not automatically sized.
wdAutoFitWindow
          The table is automatically sized to the width of the active window.
 
Method Summary
static WdAutoFitBehavior valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static WdAutoFitBehavior[] 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

wdAutoFitFixed

public static final WdAutoFitBehavior wdAutoFitFixed
The table is set to a fixed size, regardless of the content, and is not automatically sized.


wdAutoFitContent

public static final WdAutoFitBehavior wdAutoFitContent
The table is automatically sized to fit the content contained in the table.


wdAutoFitWindow

public static final WdAutoFitBehavior wdAutoFitWindow
The table is automatically sized to the width of the active window.

Method Detail

values

public static WdAutoFitBehavior[] 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 (WdAutoFitBehavior c : WdAutoFitBehavior.values())
    System.out.println(c);

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

valueOf

public static WdAutoFitBehavior 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