clone method
clone method of cell style
Implementation
CellStyle clone() {
final CellStyle cellStyle = CellStyle(workbook);
cellStyle.name = name;
cellStyle.backColor = backColor;
cellStyle.fontName = fontName;
cellStyle.fontSize = fontSize;
cellStyle.fontColor = fontColor;
cellStyle.italic = italic;
cellStyle.bold = bold;
cellStyle.underline = underline;
cellStyle.wrapText = wrapText;
cellStyle.hAlign = hAlign;
cellStyle.vAlign = vAlign;
cellStyle.indent = indent;
cellStyle.rotation = rotation;
cellStyle.index = index;
cellStyle.builtinId = builtinId;
cellStyle.numberFormat = numberFormat;
cellStyle.numberFormatIndex = numberFormatIndex;
cellStyle.isGlobalStyle = isGlobalStyle;
cellStyle.locked = locked;
cellStyle.borders = (borders as BordersCollection).clone();
cellStyle.backColorRgb = backColorRgb;
cellStyle.fontColorRgb = fontColorRgb;
return cellStyle;
}