com.arctorus.documents
Enum PageSizeType

java.lang.Object
  extended by java.lang.Enum<PageSizeType>
      extended by com.arctorus.documents.PageSizeType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PageSizeType>

public enum PageSizeType
extends java.lang.Enum<PageSizeType>

Defines standard page size types.


Enum Constant Summary
A0
          A0 page size. 841mm x 1189mm, 33.11in x 46.81in.
A1
          A1 page size. 594mm x 841mm, 23.39in x 33.11in.
A2
          A2 page size. 420mm x 594mm, 16.54in x 23.39in.
A3
          A3 page size. 297mm x 420mm, 11.69in x 16.54in.
A4
          A4 page size. 210mm x 297mm, 8.27in x 11.69in.
A5
          A5 page size. 148mm x 210mm, 5.83in x 8.27in.
A6
          A6 page size. 105mm x 148mm, 4.13in x 5.83in.
ANSI_A
          ANSI A page size. 216mm x 279mm, 8.5in x 11in.
ANSI_B
          ANSI B page size. 432mm x 279mm, 17in x 11in.
ANSI_C
          ANSI C page size. 432mm x 559mm, 17in x 22in.
ANSI_D
          ANSI D page size. 559mm x 864mm, 22in x 34in.
ANSI_E
          ANSI E page size. 864mm x 1118mm, 34in x 44in.
CUSTOM
          Custom page size.
LEDGER
          Ledger page size. 432mm x 279mm, 17in x 11in.
LEGAL
          Legal page size. 216mm x 356mm, 8.5in x 14in.
LETTER
          Letter page size. 216mm x 279mm, 8.5in x 11in.
 
Method Summary
static PageSizeType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PageSizeType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

A0

public static final PageSizeType A0
A0 page size. 841mm x 1189mm, 33.11in x 46.81in.


A1

public static final PageSizeType A1
A1 page size. 594mm x 841mm, 23.39in x 33.11in.


A2

public static final PageSizeType A2
A2 page size. 420mm x 594mm, 16.54in x 23.39in.


A3

public static final PageSizeType A3
A3 page size. 297mm x 420mm, 11.69in x 16.54in.


A4

public static final PageSizeType A4
A4 page size. 210mm x 297mm, 8.27in x 11.69in.


A5

public static final PageSizeType A5
A5 page size. 148mm x 210mm, 5.83in x 8.27in.


A6

public static final PageSizeType A6
A6 page size. 105mm x 148mm, 4.13in x 5.83in.


LETTER

public static final PageSizeType LETTER
Letter page size. 216mm x 279mm, 8.5in x 11in.


ANSI_A

public static final PageSizeType ANSI_A
ANSI A page size. 216mm x 279mm, 8.5in x 11in.


LEGAL

public static final PageSizeType LEGAL
Legal page size. 216mm x 356mm, 8.5in x 14in.


LEDGER

public static final PageSizeType LEDGER
Ledger page size. 432mm x 279mm, 17in x 11in.


ANSI_B

public static final PageSizeType ANSI_B
ANSI B page size. 432mm x 279mm, 17in x 11in.


ANSI_C

public static final PageSizeType ANSI_C
ANSI C page size. 432mm x 559mm, 17in x 22in.


ANSI_D

public static final PageSizeType ANSI_D
ANSI D page size. 559mm x 864mm, 22in x 34in.


ANSI_E

public static final PageSizeType ANSI_E
ANSI E page size. 864mm x 1118mm, 34in x 44in.


CUSTOM

public static final PageSizeType CUSTOM
Custom page size.

Method Detail

values

public static final PageSizeType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(PageSizeType c : PageSizeType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static PageSizeType 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 name