public static void AddIgnoredErrors(CT_IgnoredError err, String ref1, params IgnoredErrorType[] ignoredErrorTypes) { err.sqref = ref1; foreach (IgnoredErrorType errType in ignoredErrorTypes) { XSSFIgnoredErrorHelper.Set(errType, err); } }
public static ISet <IgnoredErrorType> GetErrorTypes(CT_IgnoredError err) { ISet <IgnoredErrorType> result = new HashSet <IgnoredErrorType>(); foreach (IgnoredErrorType errType in IgnoredErrorTypeValues.Values) { if (XSSFIgnoredErrorHelper.IsSet(errType, err)) { result.Add(errType); } } return(result); }