Enum PaperSizeEnum

java.lang.Object
java.lang.Enum<PaperSizeEnum>
net.sf.jasperreports.engine.export.ooxml.type.PaperSizeEnum
All Implemented Interfaces:
Serializable, Comparable<PaperSizeEnum>, java.lang.constant.Constable, NamedEnum

public enum PaperSizeEnum extends Enum<PaperSizeEnum> implements NamedEnum
Author:
Sanda Zaharia (shertage@users.sourceforge.net)
  • Enum Constant Details

    • UNDEFINED

      public static final PaperSizeEnum UNDEFINED
      Specifies an undefined paper size.
    • LETTER

      public static final PaperSizeEnum LETTER
      Specifies the Letter paper size. ANSI X3.151-1987 - "Letter" (216 x 279 mm)
    • EXECUTIVE

      public static final PaperSizeEnum EXECUTIVE
      Specifies the Executive paper size. ANSI X3.151-1987 - "Executive" (190 x 254 mm)
    • A2

      public static final PaperSizeEnum A2
      Specifies the A2 paper size. ISO 216 - "A2" (420 x 594 mm)
    • A3

      public static final PaperSizeEnum A3
      Specifies the A3 paper size. ISO 216 - "A3" (297 x 420 mm)
    • A4

      public static final PaperSizeEnum A4
      Specifies the A4 paper size. ISO 216 - "A4" (210 x 297 mm)
    • A5

      public static final PaperSizeEnum A5
      Specifies the A5 paper size. ISO 216 - "A5" (148 x 210 mm)
    • TABLOID

      public static final PaperSizeEnum TABLOID
      Specifies the Tabloid paper size. ANSI X3.151-1987 - "Ledger/Tabloid" (279 x 432 mm)
    • LEDGER

      public static final PaperSizeEnum LEDGER
      Specifies the Ledger paper size. ANSI X3.151-1987 - "Ledger/Tabloid" (432 x 279 mm)
    • ENVELOPE_DL

      public static final PaperSizeEnum ENVELOPE_DL
      Specifies the DL Envelope paper size. ISO 269 - "Envelope DL" (110 x 220 mm)
    • B4

      public static final PaperSizeEnum B4
      Specifies the B4 paper size. ISO 216 - "B4" (250 x 353 mm)
    • B5

      public static final PaperSizeEnum B5
      Specifies the B5 paper size. ISO 216 - "B5" (176 x 250 mm)
    • C3

      public static final PaperSizeEnum C3
      Specifies the C3 paper size. ISO 216 - "C3" (324 x 458 mm)
    • C4

      public static final PaperSizeEnum C4
      Specifies the C4 paper size. ISO 216 - "C4" (229 x 324 mm)
    • C5

      public static final PaperSizeEnum C5
      Specifies the C5 paper size. ISO 216 - "C5" (162 x 229 mm)
    • C6

      public static final PaperSizeEnum C6
      Specifies the C6 paper size. ISO 216 - "C6" (114 x 162 mm)
  • Method Details

    • values

      public static PaperSizeEnum[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static PaperSizeEnum valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getOoxmlValue

      public final byte getOoxmlValue()
    • getWidth

      public final int getWidth()
    • getHeight

      public final int getHeight()
    • getName

      public String getName()
      Specified by:
      getName in interface NamedEnum
    • getByName

      public static PaperSizeEnum getByName(String name)