internal static void smethod_11(Class582 A_0) { foreach (KeyValuePair <ListStyle, string> pair2 in A_0.method_33()) { ListStyle key = pair2.Key; string str2 = pair2.Value; key.ListStyleIstd = A_0.Interface58.imethod_0(str2, 12); } foreach (KeyValuePair <ListLevel, string> pair in A_0.method_34()) { ListLevel level = pair.Key; string str = pair.Value; level.int_10 = A_0.Interface58.imethod_0(str, 0xfff); } }
private static void smethod_2(Class582 A_0) { int num = 2; Class394 class2 = A_0.imethod_1(); int num2 = 0; bool flag = false; int num3 = 0; ListLevelsType hybridMultiLevel = ListLevelsType.HybridMultiLevel; int num4 = 0; string str = null; string str2 = null; string str3 = string.Empty; ListStyle listStyle = null; while (class2.method_19()) { string str4; if (((str4 = class2.method_1()) != null) && (str4 == BookmarkStart.b("䐧䌩弫娭琯圱刳缵尷", num))) { num2 = class2.method_4(); } } int num5 = 0; while (class2.method_9(BookmarkStart.b("䐧䌩弫娭琯圱刳", num))) { string key = class2.method_1(); if (key != null) { int num6; if (Class1160.dictionary_120 == null) { Dictionary <string, int> dictionary1 = new Dictionary <string, int>(7); dictionary1.Add(BookmarkStart.b("䐧天䔫䨭", num), 0); dictionary1.Add(BookmarkStart.b("堧䘩堫", num), 1); dictionary1.Add(BookmarkStart.b("尧䜩尫䈭", num), 2); dictionary1.Add(BookmarkStart.b("䘧䬩䄫䬭", num), 3); dictionary1.Add(BookmarkStart.b("嬧帩唫䈭唯縱崳堵匷", num), 4); dictionary1.Add(BookmarkStart.b("䐧䌩弫娭振䘱䴳娵崷瘹唻倽⬿", num), 5); dictionary1.Add(BookmarkStart.b("䐧尩䀫", num), 6); Class1160.dictionary_120 = dictionary1; } if (Class1160.dictionary_120.TryGetValue(key, out num6)) { switch (num6) { case 0: flag = true; num3 = Class114.smethod_9(class2.method_28()); break; case 1: hybridMultiLevel = Class463.smethod_4(class2.method_28()); break; case 2: num4 = Class114.smethod_9(class2.method_28()); break; case 3: str = class2.method_28(); break; case 4: str3 = str2 = class2.method_28(); break; case 5: str2 = class2.method_28(); break; case 6: goto Label_01A6; } } } continue; Label_01A6: if (listStyle == null) { listStyle = new ListStyle(A_0.Interface50.imethod_0(), num3, hybridMultiLevel, num4); } ListLevel level = new ListLevel(listStyle); listStyle.Levels.method_5(level); int num7 = class2.method_13(BookmarkStart.b("䄧䘩娫䈭", num), 0); if ((num7 == -1) && (num5 > 0)) { listStyle.Levels[0].PatternType = ListPatternType.None; listStyle.Levels[0].LevelText = string.Empty; listStyle.Levels[0].ParagraphFormat.ClearFormatting(); A_0.imethod_1().vmethod_1(); } else { if (num7 == -1) { num7 = 0; } smethod_6(listStyle.Levels[num7], A_0, num5); } num5++; } if (listStyle == null) { listStyle = new ListStyle(A_0.Interface50.imethod_0(), num3, hybridMultiLevel, num4); if (!string.IsNullOrEmpty(str)) { listStyle.Name = str; } if (!string.IsNullOrEmpty(str2)) { listStyle.BaseListStyleName = str2; } if (!string.IsNullOrEmpty(str3)) { listStyle.StyleLink = str3; } } else { bool flag2 = smethod_5(listStyle); listStyle.Name = flag2 ? (BookmarkStart.b("樧弩䀫䈭唯䘱儳刵朷", num) + Guid.NewGuid().ToString()) : (BookmarkStart.b("昧弩䄫䰭唯䀱儳刵朷", num) + Guid.NewGuid().ToString()); listStyle.ListType = flag2 ? ListType.Bulleted : ListType.Numbered; if (!string.IsNullOrEmpty(str2)) { listStyle.BaseListStyleName = str2; } if (!string.IsNullOrEmpty(str3)) { listStyle.StyleLink = str3; } } if (!flag) { listStyle.method_23(num2); } if (str2 != null) { A_0.method_33()[listStyle] = str2; } A_0.Interface50.imethod_0().ListStyles.Add(listStyle); smethod_3(listStyle); smethod_4(listStyle); A_0.method_19()[num2] = listStyle.Name; }