protected void AcceptFormatRevisionCore(int istdKey, int[] keysToPreserve) { Class580 formatRevision = this.FormatRevision; if (formatRevision != null) { WordAttrCollection attrs = formatRevision.method_4(); if (((istdKey >= 0) && (attrs.method_31(istdKey) != null)) && (keysToPreserve != null)) { object[] objArray = new object[keysToPreserve.Length]; for (int j = 0; j < keysToPreserve.Length; j++) { objArray[j] = base.method_31(keysToPreserve[j]); } this.ClearAttrs(); for (int k = 0; k < keysToPreserve.Length; k++) { if (objArray[k] != null) { this.SetAttr(keysToPreserve[k], objArray[k]); } } } for (int i = 0; i < attrs.Count; i++) { this.SetAttr(attrs.method_18(i), attrs.method_19(i)); } } this.Remove(0x271a); }
internal void method_48(WordAttrCollection A_0) { for (int i = 0; i < A_0.Count; i++) { int propKey = A_0.method_18(i); this.SetAttr(propKey, A_0[propKey]); } }
protected void AcceptFormatRevisionCore(FormatBase format, int[] keysToPreserve, WordAttrCollection attr) { if (attr != null) { if ((format != null) && (keysToPreserve != null)) { object[] objArray = new object[keysToPreserve.Length]; for (int j = 0; j < keysToPreserve.Length; j++) { objArray[j] = base.method_31(keysToPreserve[j]); } attr.ClearAttrs(); for (int k = 0; k < keysToPreserve.Length; k++) { if (objArray[k] != null) { this.SetAttr(keysToPreserve[k], objArray[k]); } } } for (int i = 0; i < base.Count; i++) { attr.SetAttr(base.method_18(i), base.method_19(i)); } } }
internal virtual void AcceptFormatRevision(WordAttrCollection attr) { this.AcceptFormatRevisionCore(-1, null); }