internal void method_22() { foreach (Style style in this) { CharacterFormat characterFormat = style.CharacterFormat; characterFormat.Remove(380); characterFormat.Remove(340); characterFormat.Remove(390); } }
private static CharacterFormat smethod_0(CharacterFormat A_0) { CharacterFormat format = (CharacterFormat)A_0.Clone(); format.Remove(50); return(format); }
private void method_32(Style A_0, int A_1, int A_2) { foreach (TextRange range in base.Document.GetChildElements(DocumentObjectType.TextRange, true)) { CharacterFormat characterFormat = range.CharacterFormat; if (characterFormat.Istd == A_1) { if (A_2 == -1) { characterFormat.Remove(50); } else { characterFormat[50] = A_2; } } } }
internal static void smethod_1(Class581 A_0, CharacterFormat A_1, Class584 A_2) { object obj2 = A_1.method_31(14); A_1.Remove(14); object obj3 = A_1.method_31(12); A_1.Remove(12); object obj4 = A_1.method_31(40); A_1.Remove(40); object obj5 = A_1.method_31(30); A_1.Remove(30); CharacterFormat format1 = (CharacterFormat)A_1.method_23(); A_1.ClearFormatting(); Class733.smethod_0(A_0, A_1); A_1.Remove(14); A_1.Remove(12); if (obj2 != null) { A_1.SetAttr(14, obj2); } if (obj3 != null) { A_1.SetAttr(12, obj3); } if (obj4 != null) { A_1.SetAttr(40, obj4); } if (obj5 != null) { A_1.SetAttr(30, obj5); } }
private void method_17(char A_0, int A_1, CharacterFormat A_2, Class1107 A_3) { int num = this.class764_0.method_5().method_6(A_1); switch (A_0) { case '\x0001': if (A_3.bool_1) { this.method_18(A_2, A_3.int_1); return; } if (A_3.bool_3) { this.method_19(A_2, A_3.int_1); return; } this.method_20(A_2, A_3.int_1); return; case '\x0005': if (this.subDocumentType_0 == SubDocumentType.Main) { this.method_27(num, A_2); return; } this.class764_0.method_43().imethod_13(A_0, A_2); return; case '\b': this.method_23(num, A_2); return; case '\x0013': { Class766 class5 = this.class764_0.method_7().method_0(this.subDocumentType_0, num); if (class5 == null) { class5 = new Class766(0x13, 0); } this.class764_0.method_43().imethod_15(A_2, class5.method_2()); return; } case '\x0014': { Class454 class3 = null; if (A_3.bool_2 && A_3.bool_3) { class3 = this.class764_0.method_41(A_3.int_1); } this.class764_0.method_43().imethod_16(A_2, class3); return; } case '\x0015': { bool flag = false; bool flag2 = false; Class766 class6 = this.class764_0.method_7().method_0(this.subDocumentType_0, num); if (class6 != null) { flag = class6.method_13(); flag2 = class6.method_9(); } this.class764_0.method_43().imethod_17(A_2, flag2, flag); return; } case '(': if (A_2.HasKey(400)) { A_2.Remove(400); } if (A_3.bool_0) { this.class764_0.method_43().imethod_40(A_3, A_2); return; } this.method_16(A_3.char_0.ToString(), A_2); return; case '<': { Class487 class7 = this.class764_0.method_17().method_5(this.int_2++); if (class7 != null) { Class9 class2 = new Class9(this.class764_0.method_42(), class7.method_0()); class2.method_23(class7.method_1()); class2.method_27(class7.method_3()); class2.method_25(class7.method_2()); using (IEnumerator enumerator = class7.method_4().System.Collections.IEnumerable.GetEnumerator()) { while (enumerator.MoveNext()) { Class901 current = (Class901)enumerator.Current; class2.method_28().method_3(current); } } this.class764_0.method_43().imethod_36(class2); this.stack_0.Push(class2); } return; } case '>': if (this.stack_0.Count > 0) { this.stack_0.Pop(); this.class764_0.method_43().imethod_37(); return; } return; } this.class764_0.method_43().imethod_13(A_0, A_2); }