com.businessobjects.rebean.wi
Class PaperSize

java.lang.Object
  extended by com.businessobjects.rebean.wi.PaperSize
All Implemented Interfaces:
java.io.Serializable

public final class PaperSize
extends java.lang.Object
implements java.io.Serializable

Warning: This class is no longer functional from the SAP BusinessObjects 4.0 release onwards.

PaperSize class contains all possible paper sizes.

See Also:
PageInfo.getPaperSize(), Serialized Form

Field Summary
static int _A0
          int value of A0.value()
static int _A1
          int value of A1.value()
static int _A2
          int value of A2.value()
static int _A3
          int value of A3.value()
static int _A4
          int value of A4.value()
static int _A5
          int value of A5.value()
static int _A6
          int value of A6.value()
static int _B4
          int value of B4.value()
static int _B4_JIS
          int value of B4_JIS.value()
static int _B5
          int value of B5.value()
static int _B5_JIS
          int value of B5_JIS.value()
static int _CUSTOM
          int value of CUSTOM.value()
static int _ENVELOPE_9
          int value of ENVELOPE_9.value()
static int _ENVELOPE_C5
          int value of ENVELOPE_C5.value()
static int _ENVELOPE_C6
          int value of ENVELOPE_C6.value()
static int _ENVELOPE_DL
          int value of ENVELOPE_DL.value()
static int _EXECUTIVE
          int value of EXECUTIVE.value()
static int _GERMAN_LEGAL_FANFOLD
          int value of GERMAN_LEGAL_FANFOLD.value()
static int _GERMAN_STD_FANFOLD
          int value of GERMAN_STD_FANFOLD.value()
static int _JAPANESE_ENVELOPE_CHOU_3
          int value of JAPANESE_ENVELOPE_CHOU_3.value()
static int _JAPANESE_ENVELOPE_CHOU_4
          int value of JAPANESE_ENVELOPE_CHOU_4.value()
static int _LEDGER_TABLOID
          int value of LEDGER_TABLOID.value()
static int _LEGAL
          int value of LEGAL.value()
static int _LETTER
          int value of LETTER.value()
static int _SIX_3_4_ENVELOPE
          int value of SIX_3_4_ENVELOPE.value()
static PaperSize A0
          Represents a paper size.
static PaperSize A1
          Represents a paper size.
static PaperSize A2
          Represents a paper size.
static PaperSize A3
          Represents a paper size.
static PaperSize A4
          Represents a paper size.
static PaperSize A5
          Represents a paper size.
static PaperSize A6
          Represents a paper size.
static PaperSize B4
          Represents a paper size.
static PaperSize B4_JIS
          Represents a paper size.
static PaperSize B5
          Represents a paper size.
static PaperSize B5_JIS
          Represents a paper size.
static PaperSize CUSTOM
          Represents a user-specified paper size.
static PaperSize ENVELOPE_9
          Represents a paper size.
static PaperSize ENVELOPE_C5
          Represents a paper size.
static PaperSize ENVELOPE_C6
          Represents a paper size.
static PaperSize ENVELOPE_DL
          Represents a paper size.
static PaperSize EXECUTIVE
          Represents a paper size.
static PaperSize GERMAN_LEGAL_FANFOLD
          Represents a paper size.
static PaperSize GERMAN_STD_FANFOLD
          Represents a paper size.
static PaperSize JAPANESE_ENVELOPE_CHOU_3
          Represents a paper size.
static PaperSize JAPANESE_ENVELOPE_CHOU_4
          Represents a paper size.
static PaperSize LEDGER_TABLOID
          Represents a paper size.
static PaperSize LEGAL
          Represents a paper size.
static PaperSize LETTER
          Represents a paper size.
static PaperSize SIX_3_4_ENVELOPE
          Represents a paper size.
 
Method Summary
static PaperSize fromInt(int value)
          Returns a PaperSize instance corresponding to value, or null when value does not correspond to any PaperSize
 java.lang.String toString()
          Returns a String representation of this paper size (for debug purposes)
 int value()
          Return the int value of this paper size
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_CUSTOM

public static final int _CUSTOM
int value of CUSTOM.value()

See Also:
Constant Field Values

_A4

public static final int _A4
int value of A4.value()

See Also:
Constant Field Values

_A3

public static final int _A3
int value of A3.value()

See Also:
Constant Field Values

_A2

public static final int _A2
int value of A2.value()

See Also:
Constant Field Values

_A1

public static final int _A1
int value of A1.value()

See Also:
Constant Field Values

_A0

public static final int _A0
int value of A0.value()

See Also:
Constant Field Values

_LETTER

public static final int _LETTER
int value of LETTER.value()

See Also:
Constant Field Values

_SIX_3_4_ENVELOPE

public static final int _SIX_3_4_ENVELOPE
int value of SIX_3_4_ENVELOPE.value()

See Also:
Constant Field Values

_A5

public static final int _A5
int value of A5.value()

See Also:
Constant Field Values

_A6

public static final int _A6
int value of A6.value()

See Also:
Constant Field Values

_B4

public static final int _B4
int value of B4.value()

See Also:
Constant Field Values

_B4_JIS

public static final int _B4_JIS
int value of B4_JIS.value()

See Also:
Constant Field Values

_B5

public static final int _B5
int value of B5.value()

See Also:
Constant Field Values

_B5_JIS

public static final int _B5_JIS
int value of B5_JIS.value()

See Also:
Constant Field Values

_ENVELOPE_9

public static final int _ENVELOPE_9
int value of ENVELOPE_9.value()

See Also:
Constant Field Values

_ENVELOPE_C5

public static final int _ENVELOPE_C5
int value of ENVELOPE_C5.value()

See Also:
Constant Field Values

_ENVELOPE_C6

public static final int _ENVELOPE_C6
int value of ENVELOPE_C6.value()

See Also:
Constant Field Values

_ENVELOPE_DL

public static final int _ENVELOPE_DL
int value of ENVELOPE_DL.value()

See Also:
Constant Field Values

_EXECUTIVE

public static final int _EXECUTIVE
int value of EXECUTIVE.value()

See Also:
Constant Field Values

_GERMAN_LEGAL_FANFOLD

public static final int _GERMAN_LEGAL_FANFOLD
int value of GERMAN_LEGAL_FANFOLD.value()

See Also:
Constant Field Values

_GERMAN_STD_FANFOLD

public static final int _GERMAN_STD_FANFOLD
int value of GERMAN_STD_FANFOLD.value()

See Also:
Constant Field Values

_JAPANESE_ENVELOPE_CHOU_3

public static final int _JAPANESE_ENVELOPE_CHOU_3
int value of JAPANESE_ENVELOPE_CHOU_3.value()

See Also:
Constant Field Values

_JAPANESE_ENVELOPE_CHOU_4

public static final int _JAPANESE_ENVELOPE_CHOU_4
int value of JAPANESE_ENVELOPE_CHOU_4.value()

See Also:
Constant Field Values

_LEDGER_TABLOID

public static final int _LEDGER_TABLOID
int value of LEDGER_TABLOID.value()

See Also:
Constant Field Values

_LEGAL

public static final int _LEGAL
int value of LEGAL.value()

See Also:
Constant Field Values

CUSTOM

public static final PaperSize CUSTOM
Represents a user-specified paper size.

See Also:
PageInfo.setPaperSizeWidth(double), PageInfo.setPaperSizeHeight(double)

A4

public static final PaperSize A4
Represents a paper size.


A3

public static final PaperSize A3
Represents a paper size.


A2

public static final PaperSize A2
Represents a paper size.


A1

public static final PaperSize A1
Represents a paper size.


A0

public static final PaperSize A0
Represents a paper size.


LETTER

public static final PaperSize LETTER
Represents a paper size.


SIX_3_4_ENVELOPE

public static final PaperSize SIX_3_4_ENVELOPE
Represents a paper size.


A5

public static final PaperSize A5
Represents a paper size.


A6

public static final PaperSize A6
Represents a paper size.


B4

public static final PaperSize B4
Represents a paper size.


B4_JIS

public static final PaperSize B4_JIS
Represents a paper size.


B5

public static final PaperSize B5
Represents a paper size.


B5_JIS

public static final PaperSize B5_JIS
Represents a paper size.


ENVELOPE_9

public static final PaperSize ENVELOPE_9
Represents a paper size.


ENVELOPE_C5

public static final PaperSize ENVELOPE_C5
Represents a paper size.


ENVELOPE_C6

public static final PaperSize ENVELOPE_C6
Represents a paper size.


ENVELOPE_DL

public static final PaperSize ENVELOPE_DL
Represents a paper size.


EXECUTIVE

public static final PaperSize EXECUTIVE
Represents a paper size.


GERMAN_LEGAL_FANFOLD

public static final PaperSize GERMAN_LEGAL_FANFOLD
Represents a paper size.


GERMAN_STD_FANFOLD

public static final PaperSize GERMAN_STD_FANFOLD
Represents a paper size.


JAPANESE_ENVELOPE_CHOU_3

public static final PaperSize JAPANESE_ENVELOPE_CHOU_3
Represents a paper size.


JAPANESE_ENVELOPE_CHOU_4

public static final PaperSize JAPANESE_ENVELOPE_CHOU_4
Represents a paper size.


LEDGER_TABLOID

public static final PaperSize LEDGER_TABLOID
Represents a paper size.


LEGAL

public static final PaperSize LEGAL
Represents a paper size.

Method Detail

value

public int value()
Return the int value of this paper size

Returns:
the int value of this paper size

toString

public java.lang.String toString()
Returns a String representation of this paper size (for debug purposes)

Overrides:
toString in class java.lang.Object
Returns:
a String representation of this paper size (for debug purposes)

fromInt

public static PaperSize fromInt(int value)
Returns a PaperSize instance corresponding to value, or null when value does not correspond to any PaperSize

Returns:
a PaperSize instance corresponding to value, or null when value does not correspond to any PaperSize