Enum Class PaperSize

java.lang.Object
java.lang.Enum<PaperSize>
org.apache.poi.ss.usermodel.PaperSize
All Implemented Interfaces:
Serializable, Comparable<PaperSize>, Constable

public enum PaperSize extends Enum<PaperSize>
The enumeration value indicating the possible paper size for a sheet
Author:
Daniele Montagni
  • Enum Constant Details

    • LETTER_PAPER

      public static final PaperSize LETTER_PAPER
    • LETTER_SMALL_PAPER

      public static final PaperSize LETTER_SMALL_PAPER
    • TABLOID_PAPER

      public static final PaperSize TABLOID_PAPER
    • LEDGER_PAPER

      public static final PaperSize LEDGER_PAPER
    • STATEMENT_PAPER

      public static final PaperSize STATEMENT_PAPER
    • EXECUTIVE_PAPER

      public static final PaperSize EXECUTIVE_PAPER
    • A3_PAPER

      public static final PaperSize A3_PAPER
    • A4_PAPER

      public static final PaperSize A4_PAPER
    • A4_SMALL_PAPER

      public static final PaperSize A4_SMALL_PAPER
    • A5_PAPER

      public static final PaperSize A5_PAPER
    • B4_PAPER

      public static final PaperSize B4_PAPER
    • B5_PAPER

      public static final PaperSize B5_PAPER
    • FOLIO_PAPER

      public static final PaperSize FOLIO_PAPER
    • QUARTO_PAPER

      public static final PaperSize QUARTO_PAPER
    • STANDARD_PAPER_10_14

      public static final PaperSize STANDARD_PAPER_10_14
    • STANDARD_PAPER_11_17

      public static final PaperSize STANDARD_PAPER_11_17
  • Method Details

    • values

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

      public static PaperSize valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null