[]
        
(Showing Draft Content)

PasteType

Enum Class PasteType

java.lang.Object
java.lang.Enum<PasteType>
com.grapecity.documents.excel.PasteType
All Implemented Interfaces:
Serializable, Comparable<PasteType>, Constable

public enum PasteType extends Enum<PasteType>
Specifies the type of paste.
  • Enum Constant Details

    • Values

      public static final PasteType Values
      Specifies to only paste cell values.
    • Formulas

      public static final PasteType Formulas
      Specifies to only paste cell formulas.
    • Formats

      public static final PasteType Formats
      Specifies to only paste formats.
    • NumberFormats

      public static final PasteType NumberFormats
      Specifies to only paste number formats.
    • ColumnWidths

      public static final PasteType ColumnWidths
      Specifies to only paste column widths.
    • RowHeights

      public static final PasteType RowHeights
      Specifies to only paste row heights.
  • Field Details

    • Default

      public static final EnumSet<PasteType> Default
      Specifies to paste all data except RowHeights and ColumnWidths.
  • Method Details

    • values

      public static PasteType[] 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 PasteType 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