text: public void CloneStyleFrom(HSSFCellStyle source){_format.CloneStyleFrom(source._format);if (_workbook != source._workbook){lastDateFormat = short.MinValue;lastFormats = null;getDataFormatStringCache = null;short fmt = (short)_workbook.CreateFormat(source.GetDataFormatString());this.DataFormat=(fmt);FontRecord fr = _workbook.CreateNewFont();fr.CloneStyleFrom(source._workbook.GetFontRecordAt(source.FontIndex));HSSFFont font = new HSSFFont((short)_workbook.GetFontIndex(fr), fr);this.SetFont(font);}}