private static RowFormat smethod_3(RowFormat A_0) { if (A_0.HasFormatRevision) { WordAttrCollection attrs = A_0.method_50(); WordAttrCollection attrs2 = smethod_2(A_0); for (int i = 0; i < attrs2.Count; i++) { int propKey = attrs2.method_18(i); if (attrs[propKey] == attrs2[propKey]) { attrs.Remove(propKey); } } attrs.Remove(0x271a); if (attrs.Count > 0) { attrs.FormatRevision = A_0.FormatRevision; return((RowFormat)attrs); } } else if (A_0.HasDeleteRevision || A_0.HasInsertRevision) { return(A_0); } return(null); }
private static RowFormat smethod_6(RowFormat A_0, bool A_1) { if (A_1) { RowFormat format = A_0.method_50(); format.AcceptFormatRevision(); return(format); } return(A_0); }