Package com.independentsoft.office.odf
Enum Class ReferenceFormat
- All Implemented Interfaces:
Serializable,Comparable<ReferenceFormat>,Constable
Represents what information about a reference is displayed. If the reference format is not specified, the page format is used as the default.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDisplays the number of the chapter in which the referenced item appears.Displays whether the referenced item is above or below the reference field.None.Displays the number of the page on which the referenced item appears.Displays the number of the page on which the referenced item appears. -
Method Summary
Modifier and TypeMethodDescriptionstatic ReferenceFormatReturns the enum constant of this class with the specified name.static ReferenceFormat[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PAGE
Displays the number of the page on which the referenced item appears. -
CHAPTER
Displays the number of the chapter in which the referenced item appears. -
DIRECTION
Displays whether the referenced item is above or below the reference field. -
TEXT
Displays the number of the page on which the referenced item appears. -
NONE
None.
-
-
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
-