Class PageSetup

System.Object
EasyXLS.Constants.PageSetup

public class PageSetup extends System.Object
This class contains the constants for page orientation, paper size, print comments options and page order when setting Page Setup options.
  • Field Details

    • ORIENTATION_PORTRAIT

      public const final System.String ORIENTATION_PORTRAIT
      A constant indicating that page will be printed in portrait mode. Embedded value is "Portrait".
      See Also:
      Constant Values
    • ORIENTATION_LANDSCAPE

      public const final System.String ORIENTATION_LANDSCAPE
      A constant indicating that page will be printed in landscape mode. Embedded value is "Landscape".
      See Also:
      Constant Values
    • PAPER_SIZE_CUSTOM

      public const final int PAPER_SIZE_CUSTOM
      A constant indicating a custom paper size. Embedded value is "0x00".
      See Also:
      Constant Values
    • PAPER_SIZE_LETTER

      public const final int PAPER_SIZE_LETTER
      A constant indicating the "Letter" paper size. Embedded value is "0x01".
      See Also:
      Constant Values
    • PAPER_SIZE_LETTER_SMALL

      public const final int PAPER_SIZE_LETTER_SMALL
      A constant indicating the "Letter small" paper size. Embedded value is "0x02".
      See Also:
      Constant Values
    • PAPER_SIZE_TABLOID

      public const final int PAPER_SIZE_TABLOID
      A constant indicating the "Tabloid" paper size. Embedded value is "0x03".
      See Also:
      Constant Values
    • PAPER_SIZE_LEDGER

      public const final int PAPER_SIZE_LEDGER
      A constant indicating the "Ledger" paper size. Embedded value is "0x04".
      See Also:
      Constant Values
    • PAPER_SIZE_STATEMENT

      public const final int PAPER_SIZE_STATEMENT
      A constant indicating the "Statement" paper size. Embedded value is "0x06".
      See Also:
      Constant Values
    • PAPER_SIZE_EXECUTIVE

      public const final int PAPER_SIZE_EXECUTIVE
      A constant indicating the "Executive" paper size. Embedded value is "0x07".
      See Also:
      Constant Values
    • PAPER_SIZE_A3

      public const final int PAPER_SIZE_A3
      A constant indicating the "A3" paper size. Embedded value is "0x08".
      See Also:
      Constant Values
    • PAPER_SIZE_A4

      public const final int PAPER_SIZE_A4
      A constant indicating the "A4" paper size. Embedded value is "0x09".
      See Also:
      Constant Values
    • PAPER_SIZE_A4_SMALL

      public const final int PAPER_SIZE_A4_SMALL
      A constant indicating the "A4 small" paper size. Embedded value is "0x0A".
      See Also:
      Constant Values
    • PAPER_SIZE_A5

      public const final int PAPER_SIZE_A5
      A constant indicating the "A5" paper size. Embedded value is "0x0B".
      See Also:
      Constant Values
    • PAPER_SIZE_B4

      public const final int PAPER_SIZE_B4
      A constant indicating the "B4" paper size. Embedded value is "0x0C".
      See Also:
      Constant Values
    • PAPER_SIZE_B5_JIS

      public const final int PAPER_SIZE_B5_JIS
      A constant indicating the "B5 (JIS)" paper size. Embedded value is "0x0D".
      See Also:
      Constant Values
    • PAPER_SIZE_FOLIO_PAPER

      public const final int PAPER_SIZE_FOLIO_PAPER
      A constant indicating the "Folio paper" paper size. Embedded value is "0x0E".
      See Also:
      Constant Values
    • PAPER_SIZE_QUARTO_PAPER

      public const final int PAPER_SIZE_QUARTO_PAPER
      A constant indicating the "Quarto paper" paper size. Embedded value is "0x0F".
      See Also:
      Constant Values
    • PAPER_SIZE_STANDARD_PAPER_10_BY_14

      public const final int PAPER_SIZE_STANDARD_PAPER_10_BY_14
      A constant indicating the "Standard paper(10 inch by 14 inch)" paper size. Embedded value is "0x10".
      See Also:
      Constant Values
    • PAPER_SIZE_STANDARD_PAPER_11_BY_17

      public const final int PAPER_SIZE_STANDARD_PAPER_11_BY_17
      A constant indicating the "Standard paper(11 inch by 17 inch)" paper size. Embedded value is "0x11".
      See Also:
      Constant Values
    • PAPER_SIZE_NOTE_PAPER

      public const final int PAPER_SIZE_NOTE_PAPER
      A constant indicating the "Note paper" paper size. Embedded value is "0x12".
      See Also:
      Constant Values
    • PAPER_SIZE_ENVELOPE_9

      public const final int PAPER_SIZE_ENVELOPE_9
      A constant indicating the "Envelope #9" paper size. Embedded value is "0x13".
      See Also:
      Constant Values
    • PAPER_SIZE_ENVELOPE_10

      public const final int PAPER_SIZE_ENVELOPE_10
      A constant indicating the "Envelope #10" paper size. Embedded value is "0x14".
      See Also:
      Constant Values
    • PAPER_SIZE_ENVELOPE_11

      public const final int PAPER_SIZE_ENVELOPE_11
      A constant indicating the "Envelope #11" paper size. Embedded value is "0x15".
      See Also:
      Constant Values
    • PAPER_SIZE_ENVELOPE_12

      public const final int PAPER_SIZE_ENVELOPE_12
      A constant indicating the "Envelope #12" paper size. Embedded value is "0x16".
      See Also:
      Constant Values
    • PAPER_SIZE_ENVELOPE_14

      public const final int PAPER_SIZE_ENVELOPE_14
      A constant indicating the "Envelope #14" paper size. Embedded value is "0x17".
      See Also:
      Constant Values
    • PAPER_SIZE_C_PAPER

      public const final int PAPER_SIZE_C_PAPER
      A constant indicating the "C paper" paper size. Embedded value is "0x18".
      See Also:
      Constant Values
    • PAPER_SIZE_D_PAPER

      public const final int PAPER_SIZE_D_PAPER
      A constant indicating the "D paper" paper size. Embedded value is "0x19".
      See Also:
      Constant Values
    • PAPER_SIZE_E_PAPER

      public const final int PAPER_SIZE_E_PAPER
      A constant indicating the "E paper" paper size. Embedded value is "0x1A".
      See Also:
      Constant Values
    • PAPER_SIZE_ENVELOPE_DL

      public const final int PAPER_SIZE_ENVELOPE_DL
      A constant indicating the "Envelope DL" paper size. Embedded value is "0x1B".
      See Also:
      Constant Values
    • PAPER_SIZE_ENVELOPE_C5

      public const final int PAPER_SIZE_ENVELOPE_C5
      A constant indicating the "Envelope C5" paper size. Embedded value is "0x1C".
      See Also:
      Constant Values
    • PAPER_SIZE_ENVELOPE_C3

      public const final int PAPER_SIZE_ENVELOPE_C3
      A constant indicating the "Envelope C3" paper size. Embedded value is "0x1D".
      See Also:
      Constant Values
    • PAPER_SIZE_ENVELOPE_C4

      public const final int PAPER_SIZE_ENVELOPE_C4
      A constant indicating the "Envelope C4" paper size. Embedded value is "0x1E".
      See Also:
      Constant Values
    • PAPER_SIZE_ENVELOPE_C6

      public const final int PAPER_SIZE_ENVELOPE_C6
      A constant indicating the "Envelope C6" paper size. Embedded value is "0x1F".
      See Also:
      Constant Values
    • PAPER_SIZE_ENVELOPE_C65

      public const final int PAPER_SIZE_ENVELOPE_C65
      A constant indicating the "Envelope C65" paper size. Embedded value is "0x20".
      See Also:
      Constant Values
    • PAPER_SIZE_ENVELOPE_B4

      public const final int PAPER_SIZE_ENVELOPE_B4
      A constant indicating the "Envelope B4" paper size. Embedded value is "0x21".
      See Also:
      Constant Values
    • PAPER_SIZE_ENVELOPE_B5

      public const final int PAPER_SIZE_ENVELOPE_B5
      A constant indicating the "Envelope B5" paper size. Embedded value is "0x22".
      See Also:
      Constant Values
    • PAPER_SIZE_ENVELOPE_B6

      public const final int PAPER_SIZE_ENVELOPE_B6
      A constant indicating the "Envelope B6" paper size. Embedded value is "0x23".
      See Also:
      Constant Values
    • PAPER_SIZE_ENVELOPE_ITALY

      public const final int PAPER_SIZE_ENVELOPE_ITALY
      AA constant indicating the "Envelope Italy" paper size. Embedded value is "0x24".
      See Also:
      Constant Values
    • PAPER_SIZE_ENVELOPE_MONARCH

      public const final int PAPER_SIZE_ENVELOPE_MONARCH
      A constant indicating the "Envelope Monarch" paper size. Embedded value is "0x25".
      See Also:
      Constant Values
    • PAPER_SIZE_ENVELOPE_6_3PER4

      public const final int PAPER_SIZE_ENVELOPE_6_3PER4
      A constant indicating the "Envelope 6 3/4" paper size. Embedded value is "0x26".
      See Also:
      Constant Values
    • PAPER_SIZE_US_STANDARD_FANFOLD

      public const final int PAPER_SIZE_US_STANDARD_FANFOLD
      A constant indicating the "US standard fanfold" paper size. Embedded value is "0x27".
      See Also:
      Constant Values
    • PAPER_SIZE_GERMAN_STANDARD_FANFOLD

      public const final int PAPER_SIZE_GERMAN_STANDARD_FANFOLD
      A constant indicating the "German standard fanfold" paper size. Embedded value is "0x28".
      See Also:
      Constant Values
    • PAPER_SIZE_B4_ISO

      public const final int PAPER_SIZE_B4_ISO
      A constant indicating the "ISO B4" paper size. Embedded value is "0x2A".
      See Also:
      Constant Values
    • PAPER_SIZE_JAPANESE_DOUBLE_POSTCARD

      public const final int PAPER_SIZE_JAPANESE_DOUBLE_POSTCARD
      A constant indicating the "Japanese double postcard" paper size. Embedded value is "0x2B".
      See Also:
      Constant Values
    • PAPER_SIZE_STANDARD_PAPER_9_BY_11

      public const final int PAPER_SIZE_STANDARD_PAPER_9_BY_11
      A constant indicating the "Standard paper(9 inch by 11 inch)" paper size. Embedded value is "0x2C".
      See Also:
      Constant Values
    • PAPER_SIZE_STANDARD_PAPER_10_BY_11

      public const final int PAPER_SIZE_STANDARD_PAPER_10_BY_11
      A constant indicating the "Standard paper(10 inch by 11 inch)" paper size. Embedded value is "0x2D".
      See Also:
      Constant Values
    • PAPER_SIZE_STANDARD_PAPER_15_BY_11

      public const final int PAPER_SIZE_STANDARD_PAPER_15_BY_11
      A constant indicating the "Standard paper(15 inch by 11 inch)" paper size. Embedded value is "0x2E".
      See Also:
      Constant Values
    • PAPER_SIZE_ENVELOPE_INVITE

      public const final int PAPER_SIZE_ENVELOPE_INVITE
      A constant indicating the "Invite envelope" paper size. Embedded value is "0x2F".
      See Also:
      Constant Values
    • PAPER_SIZE_LETTER_EXTRA_PAPER

      public const final int PAPER_SIZE_LETTER_EXTRA_PAPER
      A constant indicating the "Letter extra paper" paper size. Embedded value is "0x32".
      See Also:
      Constant Values
    • PAPER_SIZE_TABLOID_EXTRA_PAPER

      public const final int PAPER_SIZE_TABLOID_EXTRA_PAPER
      A constant indicating the "Tabloid extra paper" paper size. Embedded value is "0x34".
      See Also:
      Constant Values
    • PAPER_SIZE_A4_EXTRA_PAPER

      public const final int PAPER_SIZE_A4_EXTRA_PAPER
      A constant indicating the "A4 extra paper" paper size. Embedded value is "0x35".
      See Also:
      Constant Values
    • PAPER_SIZE_LETTER_TRANSVERSE_PAPER

      public const final int PAPER_SIZE_LETTER_TRANSVERSE_PAPER
      A constant indicating the "Letter transverse paper" paper size. Embedded value is "0x36".
      See Also:
      Constant Values
    • PAPER_SIZE_A4_TRANSVERSE_PAPER

      public const final int PAPER_SIZE_A4_TRANSVERSE_PAPER
      A constant indicating the "A4 transverse paper" paper size. Embedded value is "0x37".
      See Also:
      Constant Values
    • PAPER_SIZE_LETTER_EXTRA_TRANSVERSE_PAPER

      public const final int PAPER_SIZE_LETTER_EXTRA_TRANSVERSE_PAPER
      A constant indicating the "Letter extra transverse paper" paper size. Embedded value is "0x38".
      See Also:
      Constant Values
    • PAPER_SIZE_SUPER_A_PER_SUPER_A_PER_A4

      public const final int PAPER_SIZE_SUPER_A_PER_SUPER_A_PER_A4
      A constant indicating the "SuperA/SuperA/A4 paper" paper size. Embedded value is "0x39".
      See Also:
      Constant Values
    • PAPER_SIZE_SUPER_B_PER_SUPER_B_PER_A3

      public const final int PAPER_SIZE_SUPER_B_PER_SUPER_B_PER_A3
      A constant indicating the "SuperB/SuperB/A3 paper" paper size. Embedded value is "0x3A".
      See Also:
      Constant Values
    • PAPER_SIZE_LETTER_PLUS_PAPER

      public const final int PAPER_SIZE_LETTER_PLUS_PAPER
      A constant indicating the "Letter plus paper" paper size. Embedded value is "0x3B".
      See Also:
      Constant Values
    • PAPER_SIZE_A4_PLUS_PAPER

      public const final int PAPER_SIZE_A4_PLUS_PAPER
      A constant indicating the "A4 plus paper" paper size. Embedded value is "0x3C".
      See Also:
      Constant Values
    • PAPER_SIZE_A5_TRANSVERSE_PAPER

      public const final int PAPER_SIZE_A5_TRANSVERSE_PAPER
      A constant indicating the "A5 transverse paper" paper size. Embedded value is "0x3D".
      See Also:
      Constant Values
    • PAPER_SIZE_B5_JIS_TRANSVERSE_PAPER

      public const final int PAPER_SIZE_B5_JIS_TRANSVERSE_PAPER
      A constant indicating the "JIS B5 transverse paper" paper size. Embedded value is "0x3E".
      See Also:
      Constant Values
    • PAPER_SIZE_A3_EXTRA_PAPER

      public const final int PAPER_SIZE_A3_EXTRA_PAPER
      A constant indicating the "A3 extra paper" paper size. Embedded value is "0x3F".
      See Also:
      Constant Values
    • PAPER_SIZE_A5_EXTRA_PAPER

      public const final int PAPER_SIZE_A5_EXTRA_PAPER
      A constant indicating the "A5 extra paper" paper size. Embedded value is "0x40".
      See Also:
      Constant Values
    • PAPER_SIZE_B5_EXTRA_PAPER_ISO

      public const final int PAPER_SIZE_B5_EXTRA_PAPER_ISO
      A constant indicating the "ISO B5 extra paper" paper size. Embedded value is "0x41".
      See Also:
      Constant Values
    • PAPER_SIZE_A2_PAPER

      public const final int PAPER_SIZE_A2_PAPER
      A constant indicating the "A2 paper" paper size. Embedded value is "0x42".
      See Also:
      Constant Values
    • PAPER_SIZE_A3_TRANSVERSE_PAPER

      public const final int PAPER_SIZE_A3_TRANSVERSE_PAPER
      A constant indicating the "A3 transverse paper" paper size. Embedded value is "0x43".
      See Also:
      Constant Values
    • PAPER_SIZE_A3_EXTRA_TRANSVERSE_PAPER

      public const final int PAPER_SIZE_A3_EXTRA_TRANSVERSE_PAPER
      A constant indicating the "A3 extra transverse paper" paper size. Embedded value is "0x44".
      See Also:
      Constant Values
    • PAPER_SIZE_A6

      public const final int PAPER_SIZE_A6
      A constant indicating the "A6" paper size. Embedded value is "0x46".
      See Also:
      Constant Values
    • PAPER_SIZE_B5_ISO

      public const final int PAPER_SIZE_B5_ISO
      A constant indicating the "B5 ISO" paper size. Embedded value is "0x77".
      See Also:
      Constant Values
    • PAPER_SIZE_DOUBLE_POST_CARD

      public const final int PAPER_SIZE_DOUBLE_POST_CARD
      A constant indicating the "Double Post Card" paper size. Embedded value is "0x78".
      See Also:
      Constant Values
    • PAPER_SIZE_POST_CARD

      public const final int PAPER_SIZE_POST_CARD
      A constant indicating the "Post Card" paper size. Embedded value is "0x79".
      See Also:
      Constant Values
    • PAPER_SIZE_16K

      public const final int PAPER_SIZE_16K
      A constant indicating the "16K" paper size. Embedded value is "0x7B".
      See Also:
      Constant Values
    • COMMENTS_NONE

      public const final int COMMENTS_NONE
      A constant indicating that the comments will not be printed. Embedded value is "0".
      See Also:
      Constant Values
    • COMMENTS_AT_END_OF_SHEET

      public const final int COMMENTS_AT_END_OF_SHEET
      A constant indicating that the comments will be printed at the end of worksheet. Embedded value is "1".
      See Also:
      Constant Values
    • COMMENTS_AS_DISPLAYED_ON_SHEET

      public const final int COMMENTS_AS_DISPLAYED_ON_SHEET
      A constant indicating that the comments will be printed as displayed on worksheet. Embedded value is "2".
      See Also:
      Constant Values
    • PAGE_ORDER_DOWN_THEN_OVER

      public const final int PAGE_ORDER_DOWN_THEN_OVER
      A constant indicating that the page order when printing is down then over. Embedded value is "0".
      See Also:
      Constant Values
    • PAGE_ORDER_OVER_THEN_DOWN

      public const final int PAGE_ORDER_OVER_THEN_DOWN
      A constant indicating that the page order when printing is over then down. Embedded value is "1".
      See Also:
      Constant Values
  • Constructor Details

    • PageSetup

      public PageSetup()