com.crystaldecisions.sdk.occa.report.document
Class PaperSize

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.document.PaperSize

public final class PaperSize
extends java.lang.Object

This class is used to specify the paper size of the report.

Some paper sizes exposed in the SDK are not supported by JDK 1.4. If you set an unsupported paper size for the printing options and attempt to print a report using PrintOutputController.printReport, a ReportSDKPrinterPaperSizeException exception is thrown.


Field Summary
static int _paper10x14
          Not supported by JDK 1.4.
static int _paper11x17
          Not supported by JDK 1.4.
static int _paperA3
          Use ISO A3 size.
static int _paperA4
          Use ISO A4 size.
static int _paperA4Small
          Not supported by JDK 1.4.
static int _paperA5
          Use ISO A5 size.
static int _paperB4
          Use ISO B4 size.
static int _paperB5
          Use ISO B5 size.
static int _paperCsheet
          Use C size.
static int _paperDsheet
          Use D size.
static int _paperEnvelope10
          Use number 10 envelope size.
static int _paperEnvelope11
          Use number 11 envelope size.
static int _paperEnvelope12
          Use number 12 envelope size.
static int _paperEnvelope14
          Use number 14 envelope size.
static int _paperEnvelope9
          Use number 9 envelope size.
static int _paperEnvelopeB4
          Not supported by JDK 1.4.
static int _paperEnvelopeB5
          Not supported by JDK 1.4.
static int _paperEnvelopeB6
          Not supported by JDK 1.4.
static int _paperEnvelopeC3
          Not supported by JDK 1.4.
static int _paperEnvelopeC4
          Not supported by JDK 1.4.
static int _paperEnvelopeC5
          Not supported by JDK 1.4.
static int _paperEnvelopeC6
          Not supported by JDK 1.4.
static int _paperEnvelopeC65
          Not supported by JDK 1.4.
static int _paperEnvelopeDL
          Not supported by JDK 1.4.
static int _paperEnvelopeItaly
          Use Italy envelope size.
static int _paperEnvelopeMonarch
          Use monarch envelope size.
static int _paperEnvelopePersonal
          Use personal envelope size.
static int _paperEsheet
          Use E size.
static int _paperExecutive
          Use executive size.
static int _paperFanfoldLegalGerman
          Not supported by JDK 1.4.
static int _paperFanfoldStdGerman
          Not supported by JDK 1.4.
static int _paperFanfoldUS
          Not supported by JDK 1.4.
static int _paperFolio
          Use folio size.
static int _paperLedger
          Use ledger size.
static int _paperLegal
          Use legal size.
static int _paperLetter
          Use letter size.
static int _paperLetterSmall
          Not supported by JDK 1.4.
static int _paperNote
          Not supported by JDK 1.4.
static int _paperQuarto
          Use quarto size.
static int _paperStatement
          Not supported by JDK 1.4.
static int _paperTabloid
          Use tabloid size.
static int _useDefault
          Use default paper size.
static int _user
          Not supported by JDK 1.4.
static PaperSize paper10x14
          Not supported by JDK 1.4.
static PaperSize paper11x17
          Not supported by JDK 1.4.
static PaperSize paperA3
          Specifies ISO A3 size.
static PaperSize paperA4
          Specifies ISO A4 size.
static PaperSize paperA4Small
          Not supported by JDK 1.4.
static PaperSize paperA5
          Specifies ISO A5 size.
static PaperSize paperB4
          Specifies ISO B4 size.
static PaperSize paperB5
          Specifies ISO B5 size.
static PaperSize paperCsheet
          Specifies C size.
static PaperSize paperDsheet
          Specifies D size.
static PaperSize paperEnvelope10
          Specifies number 10 envelope size.
static PaperSize paperEnvelope11
          Specifies number 11 envelope size.
static PaperSize paperEnvelope12
          Specifies number 12 envelope size.
static PaperSize paperEnvelope14
          Specifies number 14 envelope size.
static PaperSize paperEnvelope9
          Specifies number 9 envelope size.
static PaperSize paperEnvelopeB4
          Not supported by JDK 1.4.
static PaperSize paperEnvelopeB5
          Not supported by JDK 1.4.
static PaperSize paperEnvelopeB6
          Not supported by JDK 1.4.
static PaperSize paperEnvelopeC3
          Not supported by JDK 1.4.
static PaperSize paperEnvelopeC4
          Not supported by JDK 1.4.
static PaperSize paperEnvelopeC5
          Not supported by JDK 1.4.
static PaperSize paperEnvelopeC6
          Not supported by JDK 1.4.
static PaperSize paperEnvelopeC65
          Not supported by JDK 1.4.
static PaperSize paperEnvelopeDL
          Not supported by JDK 1.4.
static PaperSize paperEnvelopeItaly
          Specifies Italy envelope size.
static PaperSize paperEnvelopeMonarch
          Specifies monarch envelope size.
static PaperSize paperEnvelopePersonal
          Specifies personal envelope size.
static PaperSize paperEsheet
          Specifies E size.
static PaperSize paperExecutive
          Specifies executive size.
static PaperSize paperFanfoldLegalGerman
          Not supported by JDK 1.4.
static PaperSize paperFanfoldStdGerman
          Not supported by JDK 1.4.
static PaperSize paperFanfoldUS
          Not supported by JDK 1.4.
static PaperSize paperFolio
          Specifies folio size.
static PaperSize paperLedger
          Specifies ledger size.
static PaperSize paperLegal
          Specifies legal size.
static PaperSize paperLetter
          Specifies letter size.
static PaperSize paperLetterSmall
          Not supported by JDK 1.4.
static PaperSize paperNote
          Not supported by JDK 1.4.
static PaperSize paperQuarto
          Specifies quarto size.
static PaperSize paperStatement
          Not supported by JDK 1.4.
static PaperSize paperTabloid
          Specifies tabloid size.
static PaperSize useDefault
          Specifies default paper size.
static PaperSize user
          Not supported by JDK 1.4.
 
Method Summary
static PaperSize from_int(int i)
           Returns the PaperSize object corresponding to the specified value.
static PaperSize from_string(java.lang.String sVal)
           Returns the PaperSize object corresponding to the specified type.
 java.lang.String toString()
           Returns the String value of this PaperSize object.
 int value()
           Returns the int value of this PaperSize object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_useDefault

public static final int _useDefault

Use default paper size.

See Also:
Constant Field Values

_paperLetter

public static final int _paperLetter

Use letter size. Corresponds to javax.print.attribute.standard.MediaSizeName.NA_LETTER in the Java Print Service API.

See Also:
Constant Field Values

_paperLetterSmall

public static final int _paperLetterSmall

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.

See Also:
Constant Field Values

_paperTabloid

public static final int _paperTabloid

Use tabloid size. Corresponds to javax.print.attribute.standard.MediaSizeName.TABLOID in the Java Print Service API.

See Also:
Constant Field Values

_paperLedger

public static final int _paperLedger

Use ledger size. Corresponds to javax.print.attribute.standard.MediaSizeName.LEDGER in the Java Print Service API.

See Also:
Constant Field Values

_paperLegal

public static final int _paperLegal

Use legal size. Corresponds to javax.print.attribute.standard.MediaSizeName.NA_LEGAL in the Java Print Service API.

See Also:
Constant Field Values

_paperStatement

public static final int _paperStatement

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.

See Also:
Constant Field Values

_paperExecutive

public static final int _paperExecutive

Use executive size. Corresponds to javax.print.attribute.standard.MediaSizeName.EXECUTIVE in the Java Print Service API.

See Also:
Constant Field Values

_paperA3

public static final int _paperA3

Use ISO A3 size. Corresponds to javax.print.attribute.standard.MediaSizeName.ISO_A3 in the Java Print Service API.

See Also:
Constant Field Values

_paperA4

public static final int _paperA4

Use ISO A4 size. Corresponds to javax.print.attribute.standard.MediaSizeName.ISO_A4 in the Java Print Service API.

See Also:
Constant Field Values

_paperA4Small

public static final int _paperA4Small

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.

See Also:
Constant Field Values

_paperA5

public static final int _paperA5

Use ISO A5 size. Corresponds to javax.print.attribute.standard.MediaSizeName.ISO_A5 in the Java Print Service API.

See Also:
Constant Field Values

_paperB4

public static final int _paperB4

Use ISO B4 size. Corresponds to javax.print.attribute.standard.MediaSizeName.ISO_B4 in the Java Print Service API.

See Also:
Constant Field Values

_paperB5

public static final int _paperB5

Use ISO B5 size. Corresponds to javax.print.attribute.standard.MediaSizeName.ISO_B5 in the Java Print Service API.

See Also:
Constant Field Values

_paperFolio

public static final int _paperFolio

Use folio size. Corresponds to javax.print.attribute.standard.MediaSizeName.FOLIO in the Java Print Service API.

See Also:
Constant Field Values

_paperQuarto

public static final int _paperQuarto

Use quarto size. Corresponds to javax.print.attribute.standard.MediaSizeName.QUARTO in the Java Print Service API.

See Also:
Constant Field Values

_paper10x14

public static final int _paper10x14

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.

See Also:
Constant Field Values

_paper11x17

public static final int _paper11x17

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.

See Also:
Constant Field Values

_paperNote

public static final int _paperNote

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.

See Also:
Constant Field Values

_paperEnvelope9

public static final int _paperEnvelope9

Use number 9 envelope size. Corresponds to javax.print.attribute.standard.MediaSizeName.NA_NUMBER_9_ENVELOPE in the Java Print Service API.

See Also:
Constant Field Values

_paperEnvelope10

public static final int _paperEnvelope10

Use number 10 envelope size. Corresponds to javax.print.attribute.standard.MediaSizeName.NA_NUMBER_10_ENVELOPE in the Java Print Service API.

See Also:
Constant Field Values

_paperEnvelope11

public static final int _paperEnvelope11

Use number 11 envelope size. Corresponds to javax.print.attribute.standard.MediaSizeName.NA_NUMBER_11_ENVELOPE in the Java Print Service API.

See Also:
Constant Field Values

_paperEnvelope12

public static final int _paperEnvelope12

Use number 12 envelope size. Corresponds to javax.print.attribute.standard.MediaSizeName.NA_NUMBER_12_ENVELOPE in the Java Print Service API.

See Also:
Constant Field Values

_paperEnvelope14

public static final int _paperEnvelope14

Use number 14 envelope size. Corresponds to javax.print.attribute.standard.MediaSizeName.NA_NUMBER_14_ENVELOPE in the Java Print Service API.

See Also:
Constant Field Values

_paperCsheet

public static final int _paperCsheet

Use C size. Corresponds to javax.print.attribute.standard.MediaSizeName.C in the Java Print Service API.

See Also:
Constant Field Values

_paperDsheet

public static final int _paperDsheet

Use D size. Corresponds to javax.print.attribute.standard.MediaSizeName.D in the Java Print Service API.

See Also:
Constant Field Values

_paperEsheet

public static final int _paperEsheet

Use E size. Corresponds to javax.print.attribute.standard.MediaSizeName.E in the Java Print Service API.

See Also:
Constant Field Values

_paperEnvelopeDL

public static final int _paperEnvelopeDL

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.

See Also:
Constant Field Values

_paperEnvelopeC5

public static final int _paperEnvelopeC5

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.

See Also:
Constant Field Values

_paperEnvelopeC3

public static final int _paperEnvelopeC3

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.

See Also:
Constant Field Values

_paperEnvelopeC4

public static final int _paperEnvelopeC4

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.

See Also:
Constant Field Values

_paperEnvelopeC6

public static final int _paperEnvelopeC6

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.

See Also:
Constant Field Values

_paperEnvelopeC65

public static final int _paperEnvelopeC65

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.

See Also:
Constant Field Values

_paperEnvelopeB4

public static final int _paperEnvelopeB4

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.

See Also:
Constant Field Values

_paperEnvelopeB5

public static final int _paperEnvelopeB5

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.

See Also:
Constant Field Values

_paperEnvelopeB6

public static final int _paperEnvelopeB6

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.

See Also:
Constant Field Values

_paperEnvelopeItaly

public static final int _paperEnvelopeItaly

Use Italy envelope size. Corresponds to javax.print.attribute.standard.MediaSizeName.ITALY_ENVELOPE in the Java Print Service API.

See Also:
Constant Field Values

_paperEnvelopeMonarch

public static final int _paperEnvelopeMonarch

Use monarch envelope size. Corresponds to javax.print.attribute.standard.MediaSizeName.MONARCH_ENVELOPE in the Java Print Service API.

See Also:
Constant Field Values

_paperEnvelopePersonal

public static final int _paperEnvelopePersonal

Use personal envelope size. Corresponds to javax.print.attribute.standard.MediaSizeName.PERSONAL_ENVELOPE in the Java Print Service API.

See Also:
Constant Field Values

_paperFanfoldUS

public static final int _paperFanfoldUS

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.

See Also:
Constant Field Values

_paperFanfoldStdGerman

public static final int _paperFanfoldStdGerman

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.

See Also:
Constant Field Values

_paperFanfoldLegalGerman

public static final int _paperFanfoldLegalGerman

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.

See Also:
Constant Field Values

_user

public static final int _user

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.

See Also:
Constant Field Values

useDefault

public static final PaperSize useDefault

Specifies default paper size.


paperLetter

public static final PaperSize paperLetter

Specifies letter size. Corresponds to javax.print.attribute.standard.MediaSizeName.NA_LETTER in the Java Print Service API.


paperLetterSmall

public static final PaperSize paperLetterSmall

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.


paperTabloid

public static final PaperSize paperTabloid

Specifies tabloid size. Corresponds to javax.print.attribute.standard.MediaSizeName.TABLOID in the Java Print Service API.


paperLedger

public static final PaperSize paperLedger

Specifies ledger size. Corresponds to javax.print.attribute.standard.MediaSizeName.LEDGER in the Java Print Service API.


paperLegal

public static final PaperSize paperLegal

Specifies legal size. Corresponds to javax.print.attribute.standard.MediaSizeName.NA_LEGAL in the Java Print Service API.


paperStatement

public static final PaperSize paperStatement

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.


paperExecutive

public static final PaperSize paperExecutive

Specifies executive size. Corresponds to javax.print.attribute.standard.MediaSizeName.EXECUTIVE in the Java Print Service API.


paperA3

public static final PaperSize paperA3

Specifies ISO A3 size. Corresponds to javax.print.attribute.standard.MediaSizeName.ISO_A3 in the Java Print Service API.


paperA4

public static final PaperSize paperA4

Specifies ISO A4 size. Corresponds to javax.print.attribute.standard.MediaSizeName.ISO_A4 in the Java Print Service API.


paperA4Small

public static final PaperSize paperA4Small

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.


paperA5

public static final PaperSize paperA5

Specifies ISO A5 size. Corresponds to javax.print.attribute.standard.MediaSizeName.ISO_A5 in the Java Print Service API.


paperB4

public static final PaperSize paperB4

Specifies ISO B4 size. Corresponds to javax.print.attribute.standard.MediaSizeName.ISO_B4 in the Java Print Service API.


paperB5

public static final PaperSize paperB5

Specifies ISO B5 size. Corresponds to javax.print.attribute.standard.MediaSizeName.ISO_B5 in the Java Print Service API.


paperFolio

public static final PaperSize paperFolio

Specifies folio size. Corresponds to javax.print.attribute.standard.MediaSizeName.FOLIO in the Java Print Service API.


paperQuarto

public static final PaperSize paperQuarto

Specifies quarto size. Corresponds to javax.print.attribute.standard.MediaSizeName.QUARTO in the Java Print Service API.


paper10x14

public static final PaperSize paper10x14

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.


paper11x17

public static final PaperSize paper11x17

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.


paperNote

public static final PaperSize paperNote

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.


paperEnvelope9

public static final PaperSize paperEnvelope9

Specifies number 9 envelope size. Corresponds to javax.print.attribute.standard.MediaSizeName.NA_NUMBER_9_ENVELOPE in the Java Print Service API.


paperEnvelope10

public static final PaperSize paperEnvelope10

Specifies number 10 envelope size. Corresponds to javax.print.attribute.standard.MediaSizeName.NA_NUMBER_10_ENVELOPE in the Java Print Service API.


paperEnvelope11

public static final PaperSize paperEnvelope11

Specifies number 11 envelope size. Corresponds to javax.print.attribute.standard.MediaSizeName.NA_NUMBER_11_ENVELOPE in the Java Print Service API.


paperEnvelope12

public static final PaperSize paperEnvelope12

Specifies number 12 envelope size. Corresponds to javax.print.attribute.standard.MediaSizeName.NA_NUMBER_12_ENVELOPE in the Java Print Service API.


paperEnvelope14

public static final PaperSize paperEnvelope14

Specifies number 14 envelope size. Corresponds to javax.print.attribute.standard.MediaSizeName.NA_NUMBER_14_ENVELOPE in the Java Print Service API.


paperCsheet

public static final PaperSize paperCsheet

Specifies C size. Corresponds to javax.print.attribute.standard.MediaSizeName.C in the Java Print Service API.


paperDsheet

public static final PaperSize paperDsheet

Specifies D size. Corresponds to javax.print.attribute.standard.MediaSizeName.D in the Java Print Service API.


paperEsheet

public static final PaperSize paperEsheet

Specifies E size. Corresponds to javax.print.attribute.standard.MediaSizeName.E in the Java Print Service API.


paperEnvelopeDL

public static final PaperSize paperEnvelopeDL

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.


paperEnvelopeC5

public static final PaperSize paperEnvelopeC5

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.


paperEnvelopeC3

public static final PaperSize paperEnvelopeC3

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.


paperEnvelopeC4

public static final PaperSize paperEnvelopeC4

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.


paperEnvelopeC6

public static final PaperSize paperEnvelopeC6

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.


paperEnvelopeC65

public static final PaperSize paperEnvelopeC65

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.


paperEnvelopeB4

public static final PaperSize paperEnvelopeB4

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.


paperEnvelopeB5

public static final PaperSize paperEnvelopeB5

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.


paperEnvelopeB6

public static final PaperSize paperEnvelopeB6

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.


paperEnvelopeItaly

public static final PaperSize paperEnvelopeItaly

Specifies Italy envelope size. Corresponds to javax.print.attribute.standard.MediaSizeName.ITALY_ENVELOPE in the Java Print Service API.


paperEnvelopeMonarch

public static final PaperSize paperEnvelopeMonarch

Specifies monarch envelope size. Corresponds to javax.print.attribute.standard.MediaSizeName.MONARCH_ENVELOPE in the Java Print Service API.


paperEnvelopePersonal

public static final PaperSize paperEnvelopePersonal

Specifies personal envelope size. Corresponds to javax.print.attribute.standard.MediaSizeName.PERSONAL_ENVELOPE in the Java Print Service API.


paperFanfoldUS

public static final PaperSize paperFanfoldUS

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.


paperFanfoldStdGerman

public static final PaperSize paperFanfoldStdGerman

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.


paperFanfoldLegalGerman

public static final PaperSize paperFanfoldLegalGerman

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.


user

public static final PaperSize user

Not supported by JDK 1.4. PrintOutputController.printReport will throw a ReportSDKPrinterPaperSizeException exception.

Method Detail

from_int

public static final PaperSize from_int(int i)

Returns the PaperSize object corresponding to the specified value.

Parameters:
i - The int value of the desired PaperSize object.
Returns:
The PaperSize object corresponding to the specified value.

from_string

public static final PaperSize from_string(java.lang.String sVal)

Returns the PaperSize object corresponding to the specified type.

Parameters:
sVal - The String value of the desired PaperSize object.
Returns:
The PaperSize object corresponding to the specified type.

toString

public java.lang.String toString()

Returns the String value of this PaperSize object.

Overrides:
toString in class java.lang.Object
Returns:
The String value of this PaperSize object.

value

public int value()

Returns the int value of this PaperSize object.

Returns:
The int value of this PaperSize object.