Package org.docx4j.model.structure
Enum Class MarginsWellKnown
- All Implemented Interfaces:
Serializable,Comparable<MarginsWellKnown>,Constable
These margin settings reflect the Word 2007 user interface.
w:header="708" w:footer="708" w:gutter="0" are all invariant
across these
Normal: all are 1 inch = 2.54 cm
Narrow: all are 1/2 inch
Wide: left/right are 2 inch
- Since:
- 2.7
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MarginsWellKnownReturns the enum constant of this class with the specified name.static MarginsWellKnown[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NORMAL
-
NARROW
-
MODERATE
-
WIDE
-
-
Constructor Details
-
MarginsWellKnown
private MarginsWellKnown()
-
-
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
-