PasteType

Inheritance: java.lang.Object

public final class PasteType

Represents the paste special type.

Fields

FieldDescription
ALLCopies all data of the range.
ALL_EXCEPT_BORDERSCopies all data of the range without the range.
COLUMN_WIDTHSOnly copies the widths of the range.
COMMENTSOnly copies comments in the range.
DEFAULTIt works as “All” behavior of MS Excel.
DEFAULT_EXCEPT_BORDERSIt works as “All except borders” behavior of MS Excel.
FORMATSOnly copies formats in the range.
FORMULASOnly copies formulas in the range.
FORMULAS_AND_NUMBER_FORMATSOnly copies formulas and number formats in the range.
ROW_HEIGHTSOnly copies the heights of the range.
VALIDATIONOnly copies validations in the range.
VALUESOnly copies values in the range.
VALUES_AND_FORMATSOnly copies values and formats in the range.
VALUES_AND_NUMBER_FORMATSOnly copies values and number formats in the range.

Methods

MethodDescription
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

ALL

public static final int ALL

Copies all data of the range.

ALL_EXCEPT_BORDERS

public static final int ALL_EXCEPT_BORDERS

Copies all data of the range without the range.

COLUMN_WIDTHS

public static final int COLUMN_WIDTHS

Only copies the widths of the range.

COMMENTS

public static final int COMMENTS

Only copies comments in the range.

DEFAULT

public static final int DEFAULT

It works as “All” behavior of MS Excel.

DEFAULT_EXCEPT_BORDERS

public static final int DEFAULT_EXCEPT_BORDERS

It works as “All except borders” behavior of MS Excel.

FORMATS

public static final int FORMATS

Only copies formats in the range.

FORMULAS

public static final int FORMULAS

Only copies formulas in the range.

FORMULAS_AND_NUMBER_FORMATS

public static final int FORMULAS_AND_NUMBER_FORMATS

Only copies formulas and number formats in the range.

ROW_HEIGHTS

public static final int ROW_HEIGHTS

Only copies the heights of the range.

VALIDATION

public static final int VALIDATION

Only copies validations in the range.

VALUES

public static final int VALUES

Only copies values in the range.

VALUES_AND_FORMATS

public static final int VALUES_AND_FORMATS

Only copies values and formats in the range.

VALUES_AND_NUMBER_FORMATS

public static final int VALUES_AND_NUMBER_FORMATS

Only copies values and number formats in the range.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int