Package com.independentsoft.office.odf
Enum Class SequenceReferenceFormat
- All Implemented Interfaces:
Serializable,Comparable<SequenceReferenceFormat>,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 caption in which the sequence is used.Displays the name and value of the sequence.Displays 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 text of the referenced item.Displays the value of the sequence. -
Method Summary
Modifier and TypeMethodDescriptionstatic SequenceReferenceFormatReturns the enum constant of this class with the specified name.static SequenceReferenceFormat[]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 text of the referenced item. -
CATEGORY_VALUE
Displays the name and value of the sequence. -
CAPTION
Displays the caption in which the sequence is used. -
VALUE
Displays the value of the sequence. -
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
-