private static void smethod_2(Class857 A_0, DocumentObject A_1, Class101 A_2) { int num = 6; Class396 class2 = A_0.method_11(); int num2 = 1; while (class2.method_19()) { string str; if (((str = class2.method_1()) != null) && (str == BookmarkStart.b("弫娭儯䀱䀳ᬵ丷嬹倻䬽┿", num))) { if (A_2 != null) { A_2.method_21().Levels[A_0.method_24()].StartAt = class2.method_4(); } num2 = class2.method_4(); } } if (A_2.method_27() != null) { string str2 = A_2.method_27(); Class12 class3 = A_0.method_9().ListOverrides.method_35(str2); OverrideLevelFormat format = new OverrideLevelFormat(A_0.method_9()); class3.method_23().method_9(A_0.method_24(), format); format.OverrideStartAtValue = true; format.OverrideListLevel = A_0.method_9().ListStyles.FindByName(A_2.method_0()).Levels[A_0.method_24()]; class3.method_23().method_5(A_0.method_24()).StartAt = num2; } smethod_3(A_0, A_1, BookmarkStart.b("䀫䜭䌯䘱ᤳ張䰷弹儻", num), A_2); }
internal static void smethod_0(Class857 A_0, string A_1, ref DocumentObject A_2, Class101 A_3, bool A_4) { bool_0 = A_4; smethod_1(A_0, A_1, A_2); bool_0 = false; if (A_3 != null) { if (A_2 == null) { A_2 = A_0.method_9().LastSection.Body; } Paragraph lastChild = (Paragraph) A_2.LastChild; if (A_4) { ListStyle style = A_3.method_21(); lastChild.ListFormat.ListLevelNumber = A_0.method_24(); lastChild.ListFormat.ApplyStyle(style.Name); if (A_3.method_27() != null) { lastChild.ListFormat.LFOStyleName = A_3.method_27(); } A_3.method_26(true); } } }
internal static void smethod_0(Class857 A_0, DocumentObject A_1, Class101 A_2) { int num = 6; Class396 class2 = A_0.method_11(); int num2 = smethod_1(A_0); if (A_0.method_24() == -1) { switch (num2) { case 1: A_0.method_43(true); break; case 0: A_0.method_43(false); break; } } else { A_0.method_43(true); } A_0.method_25(A_0.method_24() + 1); string str2 = A_0.method_16(); Document document = A_0.method_9(); if ((A_2 == null) || ((str2 != null) && (str2 != A_2.method_0()))) { A_2 = A_0.method_13().method_3(str2, null, A_0.method_20()) as Class101; A_2.method_21().Name = str2; if (document.ListStyles.FindByName(str2) == null) { document.ListStyles.Add(A_2.method_21()); } else if (num2 != 1) { Class12 class3 = null; string str3 = BookmarkStart.b("怫䠭弯愱䀳伵吷弹挻", num) + Guid.NewGuid(); if (document.ListOverrides.method_35(str3) == null) { int count = document.ListOverrides.Count; class3 = new Class12(document, count + 1) { Name = str3 }; document.ListOverrides.method_34(class3); A_2.method_28(str3); } } } while (class2.method_9(BookmarkStart.b("䀫䜭䌯䘱", num))) { string str = class2.method_1(); if (str != null) { if (!(str == BookmarkStart.b("䀫䜭䌯䘱ᤳ帵崷嬹堻嬽㈿", num))) { if (!(str == BookmarkStart.b("䀫䜭䌯䘱ᤳ張䰷弹儻", num))) { goto Label_018A; } smethod_2(A_0, A_1, A_2); } else { smethod_3(A_0, A_1, BookmarkStart.b("䀫䜭䌯䘱ᤳ帵崷嬹堻嬽㈿", num), A_2); } goto Label_0190; } Label_018A: class2.vmethod_1(); Label_0190: A_0.method_43(true); } A_0.method_25(A_0.method_24() - 1); if (A_0.method_24() == -1) { A_0.method_43(false); } }