jxl.format
Class PaperSize

java.lang.Object
  extended byjxl.format.PaperSize

public final class PaperSize
extends java.lang.Object

Enumeration type which contains the available excel paper sizes and their codes


Field Summary
static PaperSize A3
          A3
static PaperSize A4
          A4
static PaperSize A4_SMALL
          Small A4
static PaperSize A5
          A5
static PaperSize LEGAL
          US Legal
static PaperSize LETTER
          US Letter
 
Method Summary
static PaperSize getPaperSize(int val)
          Gets the paper size for a specific value
 int getValue()
          Accessor for the internal binary value association with this paper size
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

A3

public static PaperSize A3
A3


A4

public static PaperSize A4
A4


A4_SMALL

public static PaperSize A4_SMALL
Small A4


A5

public static PaperSize A5
A5


LEGAL

public static PaperSize LEGAL
US Legal


LETTER

public static PaperSize LETTER
US Letter

Method Detail

getPaperSize

public static PaperSize getPaperSize(int val)
Gets the paper size for a specific value

Parameters:
val - the value
Returns:
the paper size

getValue

public int getValue()
Accessor for the internal binary value association with this paper size

Returns:
the internal value