MergedCellsShrinkType

Inheritance: java.lang.Object

public final class MergedCellsShrinkType

Represents the strategy to shrink merged cells for operations such as deleting blank rows/column.

Fields

FieldDescription
KEEP_HEADER_ONLYOnly keeps the header rows/columns of the merged area when the top-left cell of the merged area is not blank.
NONELeaves the merged cells as it is without any modification.
SHRINK_TO_FITShrinks the merged area if needed, by removing rows from the bottom or columns from the right, while ensuring all content remains visible.

Methods

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

KEEP_HEADER_ONLY

public static final int KEEP_HEADER_ONLY

Only keeps the header rows/columns of the merged area when the top-left cell of the merged area is not blank.

NONE

public static final int NONE

Leaves the merged cells as it is without any modification.

SHRINK_TO_FIT

public static final int SHRINK_TO_FIT

Shrinks the merged area if needed, by removing rows from the bottom or columns from the right, while ensuring all content remains visible.

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