protected virtual void OnConvert(WorkSheet sheet, string tableName) { int excludeRow = StartRowCount; var luaMgr = BaseLuaMgr.GetTDLuaMgr(tableName); if (luaMgr != null) { IEnumerable <object> data; if (luaMgr.TableMapper != null) { var map = luaMgr.TableMapper.Exclude(excludeRow); map.SafeMode = true; data = sheet.Convert(map); } else { data = sheet.Convert(luaMgr.DataType, excludeRow, true); } luaMgr.AddAlterRangeFromObj(data); } }