com.acesoft.aceoffix.wordwriter
Enum WdLineSpacing

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

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

The types of line spacing defined in the Microsoft Word.

Version:
5.0
Author:
Acesoft Corporation

Enum Constant Summary
wdLineSpace1pt5
          Space-and-a-half line spacing.
wdLineSpaceAtLeast
          Line spacing is always at least a specified amount.
wdLineSpaceDouble
          Double spaced.
wdLineSpaceExactly
          Line spacing is only the exact maximum amount of space required.
wdLineSpaceMultiple
          The line spacing is defined by the specified lines.
wdLineSpaceSingle
          Single spaced, default.
 
Method Summary
static WdLineSpacing valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static WdLineSpacing[] 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

wdLineSpaceSingle

public static final WdLineSpacing wdLineSpaceSingle
Single spaced, default.


wdLineSpace1pt5

public static final WdLineSpacing wdLineSpace1pt5
Space-and-a-half line spacing. Spacing is equivalent to the current font size plus 6 points.


wdLineSpaceDouble

public static final WdLineSpacing wdLineSpaceDouble
Double spaced.


wdLineSpaceAtLeast

public static final WdLineSpacing wdLineSpaceAtLeast
Line spacing is always at least a specified amount. The amount is specified separately.


wdLineSpaceExactly

public static final WdLineSpacing wdLineSpaceExactly
Line spacing is only the exact maximum amount of space required. This setting commonly uses less space than single spacing.


wdLineSpaceMultiple

public static final WdLineSpacing wdLineSpaceMultiple
The line spacing is defined by the specified lines.

Method Detail

values

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

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

valueOf

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