|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.document.PaperSize
public final class PaperSize
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 |
---|
public static final int _useDefault
Use default paper size.
public static final int _paperLetter
Use letter size. Corresponds to javax.print.attribute.standard.MediaSizeName.NA_LETTER
in the Java Print Service API.
public static final int _paperLetterSmall
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final int _paperTabloid
Use tabloid size. Corresponds to javax.print.attribute.standard.MediaSizeName.TABLOID
in the Java Print Service API.
public static final int _paperLedger
Use ledger size. Corresponds to javax.print.attribute.standard.MediaSizeName.LEDGER
in the Java Print Service API.
public static final int _paperLegal
Use legal size. Corresponds to javax.print.attribute.standard.MediaSizeName.NA_LEGAL
in the Java Print Service API.
public static final int _paperStatement
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final int _paperExecutive
Use executive size. Corresponds to javax.print.attribute.standard.MediaSizeName.EXECUTIVE
in the Java Print Service API.
public static final int _paperA3
Use ISO A3 size. Corresponds to javax.print.attribute.standard.MediaSizeName.ISO_A3
in the Java Print Service API.
public static final int _paperA4
Use ISO A4 size. Corresponds to javax.print.attribute.standard.MediaSizeName.ISO_A4
in the Java Print Service API.
public static final int _paperA4Small
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final int _paperA5
Use ISO A5 size. Corresponds to javax.print.attribute.standard.MediaSizeName.ISO_A5
in the Java Print Service API.
public static final int _paperB4
Use ISO B4 size. Corresponds to javax.print.attribute.standard.MediaSizeName.ISO_B4
in the Java Print Service API.
public static final int _paperB5
Use ISO B5 size. Corresponds to javax.print.attribute.standard.MediaSizeName.ISO_B5
in the Java Print Service API.
public static final int _paperFolio
Use folio size. Corresponds to javax.print.attribute.standard.MediaSizeName.FOLIO
in the Java Print Service API.
public static final int _paperQuarto
Use quarto size. Corresponds to javax.print.attribute.standard.MediaSizeName.QUARTO
in the Java Print Service API.
public static final int _paper10x14
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final int _paper11x17
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final int _paperNote
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
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.
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.
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.
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.
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.
public static final int _paperCsheet
Use C size. Corresponds to javax.print.attribute.standard.MediaSizeName.C
in the Java Print Service API.
public static final int _paperDsheet
Use D size. Corresponds to javax.print.attribute.standard.MediaSizeName.D
in the Java Print Service API.
public static final int _paperEsheet
Use E size. Corresponds to javax.print.attribute.standard.MediaSizeName.E
in the Java Print Service API.
public static final int _paperEnvelopeDL
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final int _paperEnvelopeC5
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final int _paperEnvelopeC3
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final int _paperEnvelopeC4
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final int _paperEnvelopeC6
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final int _paperEnvelopeC65
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final int _paperEnvelopeB4
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final int _paperEnvelopeB5
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final int _paperEnvelopeB6
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final int _paperEnvelopeItaly
Use Italy envelope size. Corresponds to javax.print.attribute.standard.MediaSizeName.ITALY_ENVELOPE
in the Java Print Service API.
public static final int _paperEnvelopeMonarch
Use monarch envelope size. Corresponds to javax.print.attribute.standard.MediaSizeName.MONARCH_ENVELOPE
in the Java Print Service API.
public static final int _paperEnvelopePersonal
Use personal envelope size. Corresponds to javax.print.attribute.standard.MediaSizeName.PERSONAL_ENVELOPE
in the Java Print Service API.
public static final int _paperFanfoldUS
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final int _paperFanfoldStdGerman
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final int _paperFanfoldLegalGerman
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final int _user
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final PaperSize useDefault
Specifies default paper size.
public static final PaperSize paperLetter
Specifies letter size. Corresponds to javax.print.attribute.standard.MediaSizeName.NA_LETTER
in the Java Print Service API.
public static final PaperSize paperLetterSmall
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final PaperSize paperTabloid
Specifies tabloid size. Corresponds to javax.print.attribute.standard.MediaSizeName.TABLOID
in the Java Print Service API.
public static final PaperSize paperLedger
Specifies ledger size. Corresponds to javax.print.attribute.standard.MediaSizeName.LEDGER
in the Java Print Service API.
public static final PaperSize paperLegal
Specifies legal size. Corresponds to javax.print.attribute.standard.MediaSizeName.NA_LEGAL
in the Java Print Service API.
public static final PaperSize paperStatement
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final PaperSize paperExecutive
Specifies executive size. Corresponds to javax.print.attribute.standard.MediaSizeName.EXECUTIVE
in the Java Print Service API.
public static final PaperSize paperA3
Specifies ISO A3 size. Corresponds to javax.print.attribute.standard.MediaSizeName.ISO_A3
in the Java Print Service API.
public static final PaperSize paperA4
Specifies ISO A4 size. Corresponds to javax.print.attribute.standard.MediaSizeName.ISO_A4
in the Java Print Service API.
public static final PaperSize paperA4Small
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final PaperSize paperA5
Specifies ISO A5 size. Corresponds to javax.print.attribute.standard.MediaSizeName.ISO_A5
in the Java Print Service API.
public static final PaperSize paperB4
Specifies ISO B4 size. Corresponds to javax.print.attribute.standard.MediaSizeName.ISO_B4
in the Java Print Service API.
public static final PaperSize paperB5
Specifies ISO B5 size. Corresponds to javax.print.attribute.standard.MediaSizeName.ISO_B5
in the Java Print Service API.
public static final PaperSize paperFolio
Specifies folio size. Corresponds to javax.print.attribute.standard.MediaSizeName.FOLIO
in the Java Print Service API.
public static final PaperSize paperQuarto
Specifies quarto size. Corresponds to javax.print.attribute.standard.MediaSizeName.QUARTO
in the Java Print Service API.
public static final PaperSize paper10x14
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final PaperSize paper11x17
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final PaperSize paperNote
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
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.
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.
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.
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.
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.
public static final PaperSize paperCsheet
Specifies C size. Corresponds to javax.print.attribute.standard.MediaSizeName.C
in the Java Print Service API.
public static final PaperSize paperDsheet
Specifies D size. Corresponds to javax.print.attribute.standard.MediaSizeName.D
in the Java Print Service API.
public static final PaperSize paperEsheet
Specifies E size. Corresponds to javax.print.attribute.standard.MediaSizeName.E
in the Java Print Service API.
public static final PaperSize paperEnvelopeDL
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final PaperSize paperEnvelopeC5
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final PaperSize paperEnvelopeC3
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final PaperSize paperEnvelopeC4
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final PaperSize paperEnvelopeC6
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final PaperSize paperEnvelopeC65
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final PaperSize paperEnvelopeB4
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final PaperSize paperEnvelopeB5
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final PaperSize paperEnvelopeB6
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final PaperSize paperEnvelopeItaly
Specifies Italy envelope size. Corresponds to javax.print.attribute.standard.MediaSizeName.ITALY_ENVELOPE
in the Java Print Service API.
public static final PaperSize paperEnvelopeMonarch
Specifies monarch envelope size. Corresponds to javax.print.attribute.standard.MediaSizeName.MONARCH_ENVELOPE
in the Java Print Service API.
public static final PaperSize paperEnvelopePersonal
Specifies personal envelope size. Corresponds to javax.print.attribute.standard.MediaSizeName.PERSONAL_ENVELOPE
in the Java Print Service API.
public static final PaperSize paperFanfoldUS
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final PaperSize paperFanfoldStdGerman
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final PaperSize paperFanfoldLegalGerman
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
public static final PaperSize user
Not supported by JDK 1.4. PrintOutputController.printReport
will throw a ReportSDKPrinterPaperSizeException
exception.
Method Detail |
---|
public static final PaperSize from_int(int i)
Returns the PaperSize
object corresponding to the specified value.
i
- The int
value of the desired PaperSize
object.
PaperSize
object corresponding to the specified value.public static final PaperSize from_string(java.lang.String sVal)
Returns the PaperSize
object corresponding to the specified type.
sVal
- The String
value of the desired PaperSize
object.
PaperSize
object corresponding to the specified type.public java.lang.String toString()
Returns the String
value of this PaperSize
object.
toString
in class java.lang.Object
String
value of this PaperSize
object.public int value()
Returns the int
value of this PaperSize
object.
int
value of this PaperSize
object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |