[]
Serializable, Comparable<AutoMergeMode>, ConstableUsed with IWorksheet.autoMerge(IRange,AutoMergeDirection,AutoMergeMode) to control how neighboring cells with the same value are merged.
worksheet.getRange("A1:A4").setValue(new Object[][] {
{"Apple"}, {"Apple"}, {"Banana"}, {"Banana"}
});
worksheet.autoMerge(worksheet.getRange("A1:A4"), AutoMergeDirection.Column, AutoMergeMode.Free);
Enum.EnumDesc<E extends Enum<E>>static AutoMergeModestatic AutoMergeMode[]values()name - the name of the enum constant to be returned.IllegalArgumentException - if this enum class has no constant with the specified nameNullPointerException - if the argument is null