Enum Constant Summary
Enum Constants
Specifies the A2 paper size.
Specifies the A3 paper size.
Specifies the A4 paper size.
Specifies the A5 paper size.
Specifies the B4 paper size.
Specifies the B5 paper size.
Specifies the C3 paper size.
Specifies the C4 paper size.
Specifies the C5 paper size.
Specifies the C6 paper size.
Specifies the DL Envelope paper size.
Specifies the Executive paper size.
Specifies the Ledger paper size.
Specifies the Legal paper size.
Specifies the Letter paper size.
Specifies the Tabloid paper size.
Specifies an undefined paper size.
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
final int
final byte
final int
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Enum Constant Details
UNDEFINED
Specifies an undefined paper size.
LETTER
Specifies the Letter paper size.
ANSI X3.151-1987 - "Letter" (216 x 279 mm)
LEGAL
Specifies the Legal paper size.
ANSI X3.151-1987 - "Legal" (216 x 356 mm)
EXECUTIVE
Specifies the Executive paper size.
ANSI X3.151-1987 - "Executive" (190 x 254 mm)
A2
Specifies the A2 paper size.
ISO 216 - "A2" (420 x 594 mm)
A3
Specifies the A3 paper size.
ISO 216 - "A3" (297 x 420 mm)
A4
Specifies the A4 paper size.
ISO 216 - "A4" (210 x 297 mm)
A5
Specifies the A5 paper size.
ISO 216 - "A5" (148 x 210 mm)
TABLOID
Specifies the Tabloid paper size.
ANSI X3.151-1987 - "Ledger/Tabloid" (279 x 432 mm)
LEDGER
Specifies the Ledger paper size.
ANSI X3.151-1987 - "Ledger/Tabloid" (432 x 279 mm)
ENVELOPE_DL
Specifies the DL Envelope paper size.
ISO 269 - "Envelope DL" (110 x 220 mm)
B4
Specifies the B4 paper size.
ISO 216 - "B4" (250 x 353 mm)
B5
Specifies the B5 paper size.
ISO 216 - "B5" (176 x 250 mm)
C3
Specifies the C3 paper size.
ISO 216 - "C3" (324 x 458 mm)
C4
Specifies the C4 paper size.
ISO 216 - "C4" (229 x 324 mm)
C5
Specifies the C5 paper size.
ISO 216 - "C5" (162 x 229 mm)
C6
Specifies the C6 paper size.
ISO 216 - "C6" (114 x 162 mm)
Method Details
values
Returns an array containing the constants of this enum type, in
the order they are declared.
Returns:
an array containing the constants of this enum type, in the order they are declared
valueOf
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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null
getOoxmlValue
public final byte getOoxmlValue ()
getWidth
public final int getWidth ()
getHeight
public final int getHeight ()