Package com.itextpdf.kernel.pdf
Enum PageLabelNumberingStyle
- java.lang.Object
-
- java.lang.Enum<PageLabelNumberingStyle>
-
- com.itextpdf.kernel.pdf.PageLabelNumberingStyle
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PageLabelNumberingStyle>
public enum PageLabelNumberingStyle extends java.lang.Enum<PageLabelNumberingStyle>
Page label numbering style constants forPdfPage.setPageLabel(PageLabelNumberingStyle, String)
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DECIMAL_ARABIC_NUMERALS
1, 2, 3, 4...LOWERCASE_LETTERS
a, b, c, d...LOWERCASE_ROMAN_NUMERALS
i, ii, iii, iv...UPPERCASE_LETTERS
A, B, C, D...UPPERCASE_ROMAN_NUMERALS
I, II, III, IV...
-
Constructor Summary
Constructors Modifier Constructor Description private
PageLabelNumberingStyle()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PageLabelNumberingStyle
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PageLabelNumberingStyle[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DECIMAL_ARABIC_NUMERALS
public static final PageLabelNumberingStyle DECIMAL_ARABIC_NUMERALS
1, 2, 3, 4...
-
UPPERCASE_ROMAN_NUMERALS
public static final PageLabelNumberingStyle UPPERCASE_ROMAN_NUMERALS
I, II, III, IV...
-
LOWERCASE_ROMAN_NUMERALS
public static final PageLabelNumberingStyle LOWERCASE_ROMAN_NUMERALS
i, ii, iii, iv...
-
UPPERCASE_LETTERS
public static final PageLabelNumberingStyle UPPERCASE_LETTERS
A, B, C, D...
-
LOWERCASE_LETTERS
public static final PageLabelNumberingStyle LOWERCASE_LETTERS
a, b, c, d...
-
-
Method Detail
-
values
public static PageLabelNumberingStyle[] 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 (PageLabelNumberingStyle c : PageLabelNumberingStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PageLabelNumberingStyle 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 namejava.lang.NullPointerException
- if the argument is null
-
-