com.acesoft.aceoffix.wordwriter
Enum WdRulerStyle

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

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

Specifies the way Word adjusts the table when the left indent is changed.

Version:
5.0
Author:
Acesoft Corporation

Enum Constant Summary
wdAdjustFirstColumn
          Adjusts the left edge of the first column only, preserving the positions of the other columns and the right edge of the table.
wdAdjustNone
          Adjusts the left edge of row or rows, preserving the width of all columns by shifting them to the left or right.
wdAdjustProportional
          Adjusts the left edge of the first column, preserving the position of the right edge of the table by proportionally adjusting the widths of all the cells in the specified row or rows.
wdAdjustSameWidth
          Adjusts the left edge of the first column, preserving the position of the right edge of the table by setting the widths of all the cells in the specified row or rows to the same value.
 
Method Summary
static WdRulerStyle valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static WdRulerStyle[] 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

wdAdjustNone

public static final WdRulerStyle wdAdjustNone
Adjusts the left edge of row or rows, preserving the width of all columns by shifting them to the left or right. This is the default value.


wdAdjustProportional

public static final WdRulerStyle wdAdjustProportional
Adjusts the left edge of the first column, preserving the position of the right edge of the table by proportionally adjusting the widths of all the cells in the specified row or rows.


wdAdjustFirstColumn

public static final WdRulerStyle wdAdjustFirstColumn
Adjusts the left edge of the first column only, preserving the positions of the other columns and the right edge of the table.


wdAdjustSameWidth

public static final WdRulerStyle wdAdjustSameWidth
Adjusts the left edge of the first column, preserving the position of the right edge of the table by setting the widths of all the cells in the specified row or rows to the same value.

Method Detail

values

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

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

valueOf

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