internal static void smethod_1(Class857 A_0) { int num = 1; Class101 class2 = new Class101(); class2.method_22(new ListStyle(A_0.method_9())); class2.method_21().Name = BookmarkStart.b("栦䴨弪爬怮䐰䜲礴帶圸帺焼嘾㉀㝂ᙄ㍆え❊⡌", 1); A_0.method_66(class2); Class396 class3 = A_0.method_11(); class3.method_18(); while (class3.method_9(BookmarkStart.b("䠦尨弪䄬䘮弰嘲ᠴ䐶䴸䈺儼娾", num))) { string str; class3 = A_0.method_11(); if (((str = class3.method_1()) != null) && (str == BookmarkStart.b("䠦尨弪䄬䘮弰嘲ᠴ嬶尸䴺堼匾汀あㅄ㹆╈⹊", num))) { ListStyle listStyle = class2.method_21(); ListLevel level = new ListLevel(listStyle); listStyle.Levels.method_5(level); smethod_5(A_0, class2, level, BookmarkStart.b("䠦尨弪䄬䘮弰嘲ᠴ嬶尸䴺堼匾汀あㅄ㹆╈⹊", num)); } else { class3.vmethod_1(); } } A_0.method_13().method_1(class2, A_0.method_20(), false); A_0.method_9().ListStyles.Add(class2.method_21()); }
private static void smethod_9(Class857 A_0, Paragraph A_1, string A_2, FieldType A_3, CharacterFormat A_4, Style A_5) { int num = 0x11; Class396 class2 = A_0.method_11(); string str = class2.method_12(BookmarkStart.b("匶堸伺尼ሾ㉀㝂㱄⭆ⱈ晊⍌⹎㱐㙒", 0x11), null); Class102 class3 = (Class102)A_0.method_13().method_2(str, null, A_0.method_20(), true); if ((class3 != null) && (class3.method_13() != null)) { class3.method_13().method_37(A_4); } smethod_12(A_0, A_1, A_3, string.Format(BookmarkStart.b("᜶䈸䀼Ἶᵀ͂敄敆㉈穊が济", num), A_2, class3.method_21()), class2.method_21(), A_4, A_5); }
internal static Class108 smethod_10(Class857 A_0) { int num = 0; Class91 class2 = A_0.method_13().method_2(A_0.method_16(), null, A_0.method_20(), true); if (class2 is Class92) { return(A_0.method_14().method_0(BookmarkStart.b("甥尧䬩䈫䨭儯䀱倳", num))); } Class93 class3 = (Class93)class2; string str = (class3 != null) ? class3.method_6() : A_0.method_26(); return(smethod_11(A_0, A_0.method_14(), str)); }
private static void smethod_9(Class857 A_0, Class108 A_1, Section A_2) { Class92 class2 = A_0.method_13().method_2(A_1.method_4(), null, A_0.method_20(), true) as Class92; if (class2 != null) { if (class2.method_12() != null) { A_2.SectPr.method_50().Top += class2.method_12().method_8(); } if (class2.method_14() != null) { A_2.SectPr.method_50().Bottom += class2.method_14().method_8(); } } }
private static bool smethod_7(Class857 A_0, Class108 A_1) { Class108 class2 = null; Class91 class3 = A_0.method_13().method_2(A_0.method_16(), null, A_0.method_20(), true); if (!(class3 is Class92)) { class2 = smethod_11(A_0, A_0.method_14(), A_0.method_26()); } bool flag = ((class3 != null) && !(class3 is Class92)) && Class567.smethod_16(((Class93)class3).method_6()); bool flag2 = (A_1.method_0() != A_0.method_26()) && (A_0.method_26() != null); if (!flag) { return(false); } return(((flag2 || A_0.method_34()) || ((class2 == null) || !A_1.method_8().SectPr.Equals(class2.method_8().SectPr))) || ((class3 is Class97) && ((Class97)class3).method_33())); }
internal static void smethod_0(Class857 A_0) { Class108 class2 = new Class108(); smethod_5(A_0, class2); Class92 class3 = A_0.method_13().method_2(class2.method_4(), null, A_0.method_20(), true) as Class92; if ((class3 != null) && (class3.method_4() != null)) { class2.method_9(new Section(A_0.method_9())); smethod_1(class2.method_8(), class3.method_4()); } else { class2.method_9(new Section(A_0.method_9())); } A_0.method_14().Add(class2); smethod_6(A_0, class2); }
internal static void smethod_0(Class857 A_0, bool A_1) { Class101 class2 = new Class101(); class2.method_22(new ListStyle(A_0.method_9())); smethod_2(A_0, class2); smethod_3(A_0, class2); for (int i = 0; i < 9; i++) { Class91 class3 = A_0.method_13().method_3((string)class2.method_23()[i], null, A_0.method_20()); if ((class3 != null) && (class3 is Class96)) { CharacterFormat format = (class3 as Class96).method_13(); if ((format != null) && (format.Count > 0)) { format.method_37(class2.method_21().Levels[i].CharacterFormat); } } } A_0.method_13().method_1(class2, A_0.method_20(), A_1); }
internal static void smethod_0(Class857 A_0, DocumentObject A_1, CharacterFormat A_2) { ShapeGroup group = new ShapeGroup(A_0.method_9()); smethod_2(A_0, group); Class98 class2 = (Class98)A_0.method_13().method_2(A_0.method_16(), BookmarkStart.b("嘰䄲吴䜶儸刺帼", 11), A_0.method_20(), true); if ((class2 != null) && (class2.method_45() != null)) { class2.method_45().method_37(group.ShapePr); } if (A_2 != null) { A_2.method_37(group.CharacterFormat); } smethod_3(A_0, group, A_2); if ((group.ChildObjects.Count > 0) || !(A_1 is ShapeGroup)) { smethod_1(group); A_1.method_13(group); } }
internal static void smethod_0(Class857 A_0, Class106 A_1, Class571 A_2, bool A_3) { int num = 6; if (!A_3) { Class1140 class2 = new Class1140(); class2.method_9(new TableCell(A_0.method_9())); A_0.method_17(null); smethod_5(A_0, class2); if (!Class567.smethod_16(A_0.method_16())) { A_0.method_17(A_2.method_6()); } Class100 class3 = (Class100)A_0.method_13().method_2(A_0.method_16(), BookmarkStart.b("堫伭刯帱儳ᬵ嬷弹倻刽", num), A_0.method_20(), true); if ((class3 != null) && (class3.method_45() != null)) { smethod_2(class2.method_8().CellFormat.Borders.Top, class3.method_45().Borders.Top); smethod_2(class2.method_8().CellFormat.Borders.Bottom, class3.method_45().Borders.Bottom); smethod_2(class2.method_8().CellFormat.Borders.Left, class3.method_45().Borders.Left); smethod_2(class2.method_8().CellFormat.Borders.Right, class3.method_45().Borders.Right); class2.method_8().CellFormat.BackColor = class3.method_45().BackColor; class2.method_8().CellFormat.TextWrap = class3.method_45().TextWrap; class2.method_8().CellFormat.Shading.CopyPropertiesTo(class3.method_45().Shading); class2.method_8().CellFormat.VerticalAlignment = class3.method_45().VerticalAlignment; class2.method_8().CellFormat.SamePaddingsAsTable = class3.method_45().SamePaddingsAsTable; smethod_3(class2.method_8().CellFormat.Paddings, class3.method_45().Paddings); class2.method_8().CellFormat.TextDirection = class3.method_45().TextDirection; } smethod_6(A_0, class3, class2.method_8(), A_1); A_2.Add(class2); smethod_4(A_1, A_2, class2); } }
internal void method_0(Class857 A_0, DocumentObject A_1, CharacterFormat A_2) { int num = 0x13; Class576.smethod_94(1.0); string str = A_0.method_11().method_1(); ShapeObject obj2 = new ShapeObject(A_0.method_9()); if (A_2 != null) { A_2.method_37(obj2.CharacterFormat); } this.class43_0 = new Class43(); this.class43_0.SetAttr(0x103b, ShapeType.NonPrimitive); this.method_2(A_0); Class746.smethod_1(A_0, obj2.ShapePr); this.method_1(A_0, str, obj2); this.class43_0.method_37(obj2.ShapePr); Class746.smethod_2(obj2, (Class98)A_0.method_13().method_2(A_0.method_16(), BookmarkStart.b("常䤺尼伾⥀⩂♄", num), A_0.method_20(), true)); A_1.method_13(obj2); }
internal static void smethod_0(Class857 A_0, Class975 A_1, Class106 A_2, bool A_3) { Class571 class2 = new Class571(); A_0.method_17(null); smethod_2(A_0, class2); Class103 class3 = (Class103)A_0.method_13().method_2(A_0.method_16(), BookmarkStart.b("別䤧䠩䀫䬭ᴯ䀱嬳䄵", 0), A_0.method_20(), true); if ((class3 != null) && (class3.method_12() != null)) { class3.method_12().method_37(class2.method_2()); } A_1.Add(class2); smethod_3(A_0, A_2, class2); if (A_2 != null) { class2.method_2().LeftIndent = (float)A_2.method_18().method_0().method_0(); } if (A_3) { class2.method_2().SetAttr(0xfc8, true); } A_1.method_6(Math.Max(A_1.method_5(), class2.Count)); }
internal static void smethod_0(Class857 A_0, DocumentObject A_1, CharacterFormat A_2) { int num = 10; ShapeObject obj2 = new ShapeObject(A_0.method_9()); obj2.ShapePr.SetAttr(0x1fc, false); obj2.ShapePr.Remove(0x1cb); if (Class567.smethod_16(A_0.method_48())) { obj2.HRef = A_0.method_48(); } if (Class567.smethod_16(A_0.method_50())) { obj2.Target = A_0.method_50(); } A_0.method_17(null); Class43 class2 = smethod_4(A_0); Class98 class3 = (Class98)A_0.method_13().method_2(A_0.method_16(), BookmarkStart.b("圯䀱唳䘵倷匹弻", num), A_0.method_20(), true); smethod_1(A_0, obj2.ShapePr); if (A_2 != null) { A_2.method_37(obj2.CharacterFormat); } double d = smethod_5(A_0, A_1, obj2, class2); if (double.IsNaN(d) && (obj2.ShapePr.method_31(0x1024) == null)) { obj2.ShapePr.SetAttr(0x1024, Class576.smethod_41(BookmarkStart.b("ȯᰱijȵ嬷圹", num))); } if (!double.IsNaN(d) && (obj2.ShapePr.method_31(0x1024) == null)) { obj2.ShapePr.SetAttr(0x1024, d); obj2.ShapePr.SetAttr(190, true); } class2.method_37(obj2.ShapePr); smethod_2(obj2, class3); if (obj2.ShapePr.method_31(0x1023) == null) { obj2.TextBox.method_13(TextBoxWrapMode.None); } }
internal static void smethod_0(Class857 A_0, bool A_1) { int num = 1; Class396 class2 = A_0.method_11(); string str = class2.method_1(); Class102 class3 = new Class102(); smethod_3(A_0, class3); bool flag = false; class2.method_18(); bool flag2 = true; if (class2.method_12(BookmarkStart.b("匦嬨䨪䌬尮崰娲䄴制䬸娺䤼嘾⹀ⵂ桄ⅆ♈㥊⁌⹎═", 1), "") == BookmarkStart.b("❨", 1)) { flag2 = false; } string str2 = class2.method_12(BookmarkStart.b("䬦䠨䔪䨬娮倰吲倴", num), "").ToLower(); string str3 = class2.method_12(BookmarkStart.b("䐦䘨帪䌬嬮䌰䨲", num), "").ToUpper(); if (!string.IsNullOrEmpty(str2) && !string.IsNullOrEmpty(str3)) { class3.method_13().LocaleIdASCII = (short)((LocaleIDs)Enum.Parse(typeof(LocaleIDs), str2 + BookmarkStart.b("砦", num) + str3)); } CultureInfo info = new CultureInfo(str2 + BookmarkStart.b("ਦ", num) + str3); string[] strArray = info.DateTimeFormat.SortableDateTimePattern.Replace(BookmarkStart.b("ਦ", num), "").Replace(BookmarkStart.b("ᴦ", num), "").Replace(BookmarkStart.b("&ศ", num), BookmarkStart.b("&", num)).Split(new char[] { '\'' }); for (int i = 0; i < strArray.Length; i++) { strArray[i] = strArray[i].Substring(0, strArray[i].Length / 2); } while (class2.method_9(str)) { CharacterFormat format; string key = class2.method_1(); if (key != null) { int num3; if (Class1160.dictionary_222 == null) { Dictionary <string, int> dictionary1 = new Dictionary <string, int>(11); 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); dictionary1.Add(BookmarkStart.b("伦䘨帪弬尮", num), 7); dictionary1.Add(BookmarkStart.b("䘦䐨ت崬䈮", num), 8); dictionary1.Add(BookmarkStart.b("䨦䀨䔪堬嬮吰䀲", num), 9); dictionary1.Add(BookmarkStart.b("否䰨䠪䈬䄮唰䀲", num), 10); Class1160.dictionary_222 = dictionary1; } if (Class1160.dictionary_222.TryGetValue(key, out num3)) { switch (num3) { case 0: goto Label_02D1; case 1: { class3.method_22(string.Format(BookmarkStart.b("尦ᤨ嘪嘬Ḯ䰰", num), class3.method_21(), class2.method_21())); continue; } case 2: { smethod_1(class3, flag2 ? strArray[2] : BookmarkStart.b("昦", num)); continue; } case 3: { if (!flag2) { goto Label_0386; } smethod_1(class3, smethod_5(class2) ? (strArray[1] + smethod_6(class2, strArray[1])) : smethod_6(class2, strArray[1])); continue; } case 4: { smethod_1(class3, flag2 ? smethod_6(class2, strArray[0]) : smethod_6(class2, BookmarkStart.b("戦氨", num))); continue; } case 5: { smethod_1(class3, BookmarkStart.b("䀦", num)); continue; } case 6: { smethod_1(class3, smethod_6(class2, smethod_2(class3))); continue; } case 7: { smethod_1(class3, smethod_6(class2, strArray[4])); continue; } case 8: { smethod_1(class3, (class3.method_13().LocaleIdASCII == 0x804) ? BookmarkStart.b("䘦䐨嬪䀬", num) : BookmarkStart.b("䘦䐨Ъ崬䈮", num)); flag = true; continue; } case 9: { smethod_1(class3, smethod_6(class2, strArray[5])); continue; } case 10: { smethod_1(class3, smethod_6(class2, strArray[6])); continue; } } } } goto Label_045D; Label_02D1: format = Class1141.smethod_0(A_0, class3); if (format.Count > 0) { if (class3.method_13() != null) { class3.method_13().method_37(format); } class3.method_14(format); } continue; Label_0386: smethod_1(class3, BookmarkStart.b("栦", num)); continue; Label_045D: class2.vmethod_1(); } if (flag) { class3.method_22(class3.method_21().Replace(BookmarkStart.b("漦", num), BookmarkStart.b("伦", num))); } A_0.method_13().method_1(class3, A_0.method_20(), A_1); }
internal static DocumentObject smethod_4(Class857 A_0, Class108 A_1, DocumentObject A_2) { int num = 0x10; if (smethod_8(A_0) && ((A_2 == null) || (A_2 is Body))) { bool flag2; if (((A_2 is TableCell) || (A_2 is TextBox)) || (A_2 is HeaderFooter)) { return(A_2); } Section lastSection = A_0.method_9().LastSection; bool flag = smethod_7(A_0, A_1); if ((flag2 = ((A_0.method_32() || A_0.method_30()) || flag) || (A_0.method_9().Sections.Count == 0)) || ((A_2 == null) && (A_0.method_29().Count == 0))) { if (A_0.method_29().Count == 0) { if (flag2) { lastSection = A_1.method_8(); A_0.method_9().Sections.Add(lastSection); } } else { Section section2 = (Section)A_0.method_29().Peek(); lastSection = section2.Clone(); A_1.method_8().SectPr.method_37(lastSection.SectPr); smethod_5((Class17)section2.SectPr.Clone(), lastSection.SectPr); A_0.method_9().Sections.Add(lastSection); } Section section3 = (Section)A_0.method_9().GetChildElements(1, 1)[0]; if ((flag && (((A_0.method_38() == null) || A_0.method_38().method_10()) || (section3.Body.ChildObjects.Count != 0))) && bool_0) { lastSection.SectPr.method_57(SectionBreakType.NewPage); } Class91 class2 = A_0.method_13().method_2(A_0.method_16(), null, A_0.method_20(), true); if (!(class2 is Class92)) { Class93 class3 = (Class93)class2; A_0.method_27((class3 != null) ? class3.method_6() : BookmarkStart.b("攵䰷嬹刻娽ℿぁ⁃", num)); A_0.method_35((((A_0.method_16() != BookmarkStart.b("攵䰷嬹刻娽ℿぁ⁃", num)) && (class3 != null)) && (class3 is Class97)) && Class567.smethod_16(class3.method_6())); } } smethod_6(A_0.method_9()); A_0.method_33(false); A_0.method_31(false); foreach (Paragraph paragraph2 in A_0.method_36()) { if (paragraph2.ParentObject != lastSection.Body) { lastSection.Body.method_13(paragraph2); } } A_0.method_36().Clear(); return(lastSection.Body); } if (A_2 != null) { foreach (Paragraph paragraph in A_0.method_36()) { if (paragraph.Owner == null) { A_2.method_13(paragraph); } } } return(A_2); }
internal static void smethod_1(Class857 A_0, Class43 A_1) { Class98 class2 = (Class98)A_0.method_13().method_2(A_0.method_16(), BookmarkStart.b("唱䘳圵䠷刹唻崽", 12), A_0.method_20(), true); if ((class2 != null) && (class2.method_45() != null)) { class2.method_45().method_37(A_1); } }
internal static void smethod_0(Class857 A_0, bool A_1) { int num = 4; Class396 class2 = A_0.method_11(); string str = class2.method_1(); Class93 class3 = smethod_1(class2.method_12(BookmarkStart.b("䰩䴫䌭夯帱䴳", 4), null)); smethod_2(A_0, class3); while (class2.method_9(str)) { string key = class2.method_1(); if (key != null) { int num2; if (Class1160.dictionary_185 == null) { Dictionary <string, int> dictionary1 = new Dictionary <string, int>(11); 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); dictionary1.Add(BookmarkStart.b("䴩師伭䀯娱崳唵ᔷ䨹主儽〿❁㙃㉅ⅇ⽉㽋", num), 7); dictionary1.Add(BookmarkStart.b("堩夫䰭䤯ἱ䐳䐵圷䨹夻䰽㐿⭁⅃㕅", num), 8); dictionary1.Add(BookmarkStart.b("丩師伭䜯嬱娳儵ᔷ䨹崻夽┿潁㑃㑅❇㩉⥋㱍㭑ㅓ╕", num), 9); dictionary1.Add(BookmarkStart.b("䤩䐫伭䈯䘱ᤳ䘵䨷唹䰻嬽㈿㙁ⵃ⍅㭇", num), 10); Class1160.dictionary_185 = dictionary1; } if (Class1160.dictionary_185.TryGetValue(key, out num2)) { switch (num2) { case 0: goto Label_0175; case 1: { if (class3 is Class97) { Class413.smethod_0(A_0, (Class97)class3); } continue; } case 2: { if (class3 is Class95) { Class242.smethod_0(A_0, (Class95)class3); } continue; } case 3: { if (class3 is Class106) { Class853.smethod_0(A_0, (Class106)class3); } continue; } case 4: { if (class3 is Class94) { Class853.smethod_5(A_0, (Class94)class3); } continue; } case 5: { if (class3 is Class103) { Class853.smethod_1(A_0, (Class103)class3); } continue; } case 6: { if (class3 is Class100) { Class853.smethod_2(A_0, (Class100)class3); } continue; } case 7: { if (class3 is Class98) { Class794.smethod_0(A_0, (Class98)class3); } continue; } case 8: { if (class3 is Class105) { Class1095.smethod_0(A_0, (Class105)class3); } continue; } case 9: { if (class3 is Class104) { Class529.smethod_0(A_0, (Class104)class3); } continue; } case 10: { if (class3 is Class99) { Class648.smethod_0(A_0, (Class99)class3); } continue; } } } } goto Label_02BD; Label_0175: if (class3 is Class96) { Class96 class4 = (Class96)class3; CharacterFormat format = Class1141.smethod_0(A_0, (Class96)class3); if (format.Count > 0) { class4.method_14(format); } if (class3.method_8() != null) { format.CharStyleName = class3.method_8(); } } continue; Label_02BD: class2.vmethod_1(); } A_0.method_13().method_1(class3, A_0.method_20(), A_1); }
internal static void smethod_0(Class857 A_0, Class108 A_1) { int num = 15; Section section = A_1.method_8().Clone(); section.SectPr.method_57(SectionBreakType.NoBreak); smethod_1(A_0, section.SectPr); Class95 class2 = (Class95)A_0.method_13().method_3(A_0.method_16(), BookmarkStart.b("䘴制娸伺吼倾⽀", 15), A_0.method_20()); A_0.method_9().Settings.method_5().method_14((class2 != null) && class2.method_14()); if ((class2 != null) && (class2.method_12() != null)) { class2.method_12().method_37(section.SectPr); } A_0.method_29().Push(section); A_0.method_31(true); Class574.smethod_0(A_0, BookmarkStart.b("䘴制娸伺吼倾⽀", num), section.Body); A_0.method_33(true); A_0.method_29().Pop(); }
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); } }
internal static bool smethod_0(Class857 A_0, DocumentObject A_1, Class108 A_2) { int num = 14; A_0.method_39(new Class1052()); A_0.method_38().method_1(A_0.method_11().method_1()); A_0.method_38().method_13(string.Format(BookmarkStart.b("伳ص䔷伻儽㔿ぁ❃⍅", 14), A_0.method_38().method_0())); string str = A_0.method_38().method_0(); if (str != null) { if (!(str == BookmarkStart.b("䀳圵娷嘹夻ጽ⼿⑁楃╅❇⑉㡋⭍㹏♑", num))) { if (!(str == BookmarkStart.b("唳娵䠷刹崻尽┿㙁ⵃ╅⥇♉態❍㹏㙑ㅓ⹕", num))) { goto Label_020E; } A_0.method_38().method_7(FieldType.FieldIndex); A_0.method_38().method_9(BookmarkStart.b("紳砵簷缹搻", num)); } else { A_0.method_38().method_7(FieldType.FieldTOC); A_0.method_38().method_9(BookmarkStart.b("怳礵笷", num)); } Class396 class3 = A_0.method_11(); A_0.method_38().method_5(class3.method_12(BookmarkStart.b("䜳䈵䄷嘹夻ጽ⸿⍁⥃⍅", num), null)); if (Class567.smethod_16(A_0.method_38().method_4())) { Section section = A_2.method_8().Clone(); section.SectPr.method_57(SectionBreakType.NoBreak); Class95 class4 = (Class95)A_0.method_13().method_3(A_0.method_38().method_4(), BookmarkStart.b("䜳匵嬷丹唻儽⸿", num), A_0.method_20()); if ((class4 != null) && (class4.method_12() != null)) { ((Class17)section.SectPr.Clone()).method_37(section.SectPr); } A_0.method_29().Push(section); A_0.method_31(true); } smethod_2(A_0, A_1); smethod_1(A_0); if (A_1 == null) { A_1 = A_0.method_9().LastSection.Body; } List <DocumentObject> childElements = A_1.GetChildElements(DocumentObjectType.Paragraph, false); if (childElements.Count != 0) { Paragraph paragraph1 = (Paragraph)childElements[childElements.Count - 1]; } else { new Paragraph(A_0.method_9()); } if (Class567.smethod_16(A_0.method_38().method_4())) { A_0.method_33(true); A_0.method_29().Pop(); } return(true); } Label_020E: A_0.method_38().method_11(true); smethod_2(A_0, A_1); return(false); }
internal static void smethod_1(Class857 A_0, DocumentObject A_1, Class106 A_2) { int num = 14; A_0.method_17(null); smethod_5(A_0); A_0.method_11().method_8().MoveToElement(); Class108 class2 = Class574.smethod_10(A_0); if (!Class576.smethod_1(A_0.method_11())) { A_1 = Class574.smethod_4(A_0, class2, A_1); } Class106 class3 = (Class106)A_0.method_13().method_2(A_0.method_16(), BookmarkStart.b("䀳圵娷嘹夻", num), A_0.method_20(), true); if (class3 == null) { class3 = A_2; } if (class3 == null) { class3 = new Class106(); } Class975 class4 = new Class975(); smethod_6(A_0, class3, class4); class4.method_4(); Table table = smethod_3(A_0, class3, class4); if (A_1.LastChild is Table) { A_1.method_13(smethod_2(A_0.method_9())); } A_1.method_13(table); }
internal static void smethod_8(Class857 A_0, Paragraph A_1, string A_2, Class97 A_3, DocumentObject A_4) { int num = 14; Class396 class2 = A_0.method_11(); string str = (A_2 == BookmarkStart.b("䜳䘵夷吹", 14)) ? BookmarkStart.b("䀳匵䀷丹", num) : BookmarkStart.b("䐳圵䨷嬹嬻䰽ℿ㉁ⱃ", num); Class96 class3 = (Class96) A_0.method_13().method_2(A_0.method_16(), str, A_0.method_20(), true); if (class3 == null) { class3 = (Class96) A_0.method_13().method_2(A_0.method_16(), str, A_0.method_20(), false); } CharacterFormat format = new CharacterFormat(); if (((str == BookmarkStart.b("䀳匵䀷丹", num)) && (A_3 != null)) && (A_3.method_13() != null)) { format.method_73(A_3.method_13()); } Style style = null; if (class3 != null) { if (class3.method_13() != null) { format.method_73(class3.method_13()); } if ((str == BookmarkStart.b("䀳匵䀷丹", num)) && Class567.smethod_16(class3.method_8())) { style = (Style) A_0.method_9().Styles[class3.method_8()]; } } A_0.method_41(true); while (class2.method_10(A_2, XmlDocumentTextHandling.TextAndSignificantAndIgnorable)) { if (!Class857.smethod_10(A_0, A_1, format, style)) { string key = class2.method_1(); if (key != null) { int num2; if (Class1160.dictionary_229 == null) { Dictionary<string, int> dictionary1 = new Dictionary<string, int>(12); dictionary1.Add("", 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); dictionary1.Add(BookmarkStart.b("唳堵嘷唹䠻弽㐿⭁⭃⡅", num), 7); dictionary1.Add(BookmarkStart.b("嘳夵圷儹儻弽㈿⥁", num), 8); dictionary1.Add(BookmarkStart.b("嘳夵圷儹儻弽㈿⥁楃㕅㱇⭉㹋㩍", num), 9); dictionary1.Add(BookmarkStart.b("嘳夵圷儹儻弽㈿⥁楃⍅♇⹉", num), 10); dictionary1.Add(BookmarkStart.b("䘳䌵娷䌹", num), 11); Class1160.dictionary_229 = dictionary1; } if (Class1160.dictionary_229.TryGetValue(key, out num2)) { switch (num2) { case 0: { smethod_23(A_0, A_1, format, style); continue; } case 1: { smethod_16(A_0, A_1, format, style); continue; } case 2: { smethod_17(A_0, A_1, format, style); continue; } case 3: { smethod_12(A_0, A_1, format, Class816.string_6, style); continue; } case 4: { smethod_9(A_0, A_1); continue; } case 5: { smethod_18(A_0, A_1, A_3, A_4); A_0.method_41(true); continue; } case 6: { smethod_19(A_0, A_1, format); A_0.method_41(true); continue; } case 7: { smethod_21(A_0, A_1, format); A_0.method_41(true); continue; } case 8: { A_1.method_13(new BookmarkStart(A_0.method_9(), class2.method_12(BookmarkStart.b("娳圵唷弹", num), null))); A_1.method_13(new BookmarkEnd(A_0.method_9(), class2.method_12(BookmarkStart.b("娳圵唷弹", num), null))); A_0.method_41(true); continue; } case 9: { A_1.method_13(new BookmarkStart(A_0.method_9(), class2.method_12(BookmarkStart.b("娳圵唷弹", num), null))); A_0.method_41(true); continue; } case 10: { A_1.method_13(new BookmarkEnd(A_0.method_9(), class2.method_12(BookmarkStart.b("娳圵唷弹", num), null))); A_0.method_41(true); continue; } case 11: { smethod_10(A_0, A_1, format, style); continue; } } } } if (Class567.smethod_16(Class857.string_4) && !smethod_27(A_1.Text)) { smethod_12(A_0, A_1, format, BookmarkStart.b("ᐳ", num), style); Class857.string_4 = ""; } if (Class797.smethod_0(A_0, A_1, format, style, A_3, A_4)) { A_0.method_41(true); } else { smethod_8(A_0, A_1, class2.method_1(), A_3, A_4); } } else { A_0.method_41(true); } } if (((class3 != null) && (!A_1.HasChildElements || bool_0)) && ((class3.method_13() != null) && ((A_2 == BookmarkStart.b("䐳", num)) || (A_2 == BookmarkStart.b("尳", num))))) { A_1.BreakCharacterFormat.method_25(class3.method_13()); } }
internal static void smethod_1(Class857 A_0, string A_1, DocumentObject A_2) { Paragraph paragraph; int num = 12; Class396 class2 = A_0.method_11(); A_0.method_17(null); while (class2.method_19()) { smethod_7(A_0); } class2.method_8().MoveToElement(); Class108 class6 = Class574.smethod_10(A_0); if (!Class576.smethod_1(class2)) { A_2 = Class574.smethod_4(A_0, class6, A_2); } Class97 class4 = (Class97) A_0.method_13().method_2(A_0.method_16(), BookmarkStart.b("䈱唳䐵夷崹主弽〿⩁", num), A_0.method_20(), true); if ((A_0.method_36().Count > 0) && (A_2 is Body)) { paragraph = (Paragraph) A_0.method_36()[A_0.method_36().Count - 1]; A_0.method_36().RemoveAt(A_0.method_36().Count - 1); } else { paragraph = new Paragraph(A_0.method_9()); if (A_2 is ShapeObject) { (A_2 as ShapeObject).InternerTextbox.method_13(paragraph); } else if (A_2 is Footnote) { (A_2 as Footnote).TextBody.method_13(paragraph); } else if (A_2 is Comment) { (A_2 as Comment).Body.method_13(paragraph); } else { A_2.method_13(paragraph); } } if ((A_0.method_38() != null) && !A_0.method_38().method_10()) { paragraph.method_18(new FieldMark(A_0.method_9(), new CharacterFormat(A_0.method_9()), FieldMarkType.FieldSeparator), paragraph.FirstChild); paragraph.method_17(new FieldMark(A_0.method_9(), new CharacterFormat(A_0.method_9()), FieldMarkType.FieldSeparator), paragraph.method_17(new TextRange(A_0.method_9(), string.Format(BookmarkStart.b("䤱г䬵", num), A_0.method_38().method_8()), new CharacterFormat(A_0.method_9())), paragraph.FirstChild)); A_0.method_38().method_11(true); } if (A_1 == BookmarkStart.b("娱", num)) { smethod_6(A_0, paragraph); } else { paragraph.Format.SetAttr(0x500, (byte) 9); } Class857.string_4 = ""; smethod_13(A_0, paragraph, class4); smethod_8(A_0, paragraph, A_1, class4, A_2); smethod_14(A_0, paragraph, class4); if (class4 == null) { Style style2 = (Style) A_0.method_9().Styles[(A_0.method_16() == null) ? BookmarkStart.b("愱䀳圵嘷帹崻䰽", num) : A_0.method_16()]; if (style2 != null) { paragraph.ApplyStyle(style2.Name); } } else { if (class4.method_15() != null) { class4.method_15().CopyPropertiesTo(paragraph.Format); paragraph.Format.Borders.IsDefault = class4.method_15().Borders.IsDefault; } if (class4.method_13() != null) { CharacterFormat.smethod_5(class4.method_13(), paragraph.BreakCharacterFormat); } if (Class567.smethod_16(class4.method_8())) { Style style = (Style) A_0.method_9().Styles[class4.method_8()]; if ((style != null) && (style.ParaPr != null)) { paragraph.method_65(style as ParagraphStyle); smethod_4(style.ParaPr.Tabs, paragraph.Format.Tabs); } } if (Class567.smethod_16(class4.method_10())) { Class101 class3 = A_0.method_13().method_3(class4.method_10(), null, A_0.method_20()) as Class101; class3.method_21().Name = class4.method_10(); if (A_0.method_9().ListStyles.FindByName(class4.method_10()) == null) { A_0.method_9().ListStyles.Add(class3.method_21()); } paragraph.ListFormat.ApplyStyle(class3.method_21().Name); } if ((paragraph.IsInCell && (((TableCell) paragraph.OwnerTextBody).Paragraphs[0] == paragraph)) && (class4.method_19() != TextOrientation.Horizontal)) { ((TableCell) paragraph.OwnerTextBody).CellFormat.SetAttr(0xbea, class4.method_19()); } if (paragraph.method_1() == null) { smethod_2(paragraph, class4); } } if ((paragraph.Format.OutlineLevel != OutlineLevel.Body) && (A_0.method_65() != null)) { Class101 class5 = A_0.method_65(); int outlineLevelEx = paragraph.Format.OutlineLevelEx; if (((class5 != null) && class5.hashtable_0.ContainsKey(outlineLevelEx)) && ((bool) class5.hashtable_0[outlineLevelEx])) { paragraph.ListFormat.ListLevelNumber = outlineLevelEx - 1; paragraph.ListFormat.ApplyStyle(A_0.method_65().method_21().Name); } } smethod_5(paragraph, class4); smethod_3(paragraph); }
internal static void smethod_0(Class857 A_0, Class106 A_1) { int num = 12; A_0.method_17(null); Class396 class2 = A_0.method_11(); int num2 = 1; while (class2.method_19()) { string str; if ((!A_0.method_4(class2) && ((str = class2.method_1()) != null)) && (str == BookmarkStart.b("就䄳嬵娷弹主ጽ⌿ⵁ⡃㍅╇⑉㽋捍≏㝑㍕㥗⹙㥛㩝", num))) { num2 = class2.method_4(); } } if (A_1 != null) { while (num2-- > 0) { Class94 class3 = A_0.method_13().method_2(A_0.method_16(), BookmarkStart.b("䘱唳吵吷弹ᄻ崽⼿⹁ㅃ⭅♇", num), A_0.method_20(), true) as Class94; if (class3 == null) { class3 = new Class94(); } A_1.method_20().Add(class3); } } }
internal static void smethod_0(Class857 A_0, Class108 A_1, string A_2) { int num = 6; Class92 class2 = A_0.method_13().method_2(A_1.method_4(), null, A_0.method_20(), true) as Class92; HeaderFooterType type = smethod_1(A_1, A_2); HeaderFooter evenHeader = null; switch (type) { case HeaderFooterType.HeaderEven: evenHeader = A_1.method_8().HeadersFooters.EvenHeader; break; case HeaderFooterType.HeaderOdd: evenHeader = A_1.method_8().HeadersFooters.OddHeader; break; case HeaderFooterType.FooterEven: evenHeader = A_1.method_8().HeadersFooters.EvenFooter; break; case HeaderFooterType.FooterOdd: evenHeader = A_1.method_8().HeadersFooters.OddFooter; break; case HeaderFooterType.HeaderFirstPage: evenHeader = A_1.method_8().HeadersFooters.FirstPageHeader; break; case HeaderFooterType.FooterFirstPage: evenHeader = A_1.method_8().HeadersFooters.FirstPageFooter; break; } Class17 class3 = null; if (class2 != null) { Class107 class4 = A_2.StartsWith(BookmarkStart.b("䐫䬭儯嘱儳䐵", num)) ? class2.method_12() : class2.method_14(); if (class4 != null) { class3 = class4.method_4(); } if (A_2.EndsWith(BookmarkStart.b("ī䈭唯吱䀳", num))) { A_0.method_9().Settings.bool_37 = true; } if (class3 != null) { class3.method_37(A_1.method_8().SectPr); } while (A_0.method_11().method_9(A_2)) { string key = A_0.method_11().method_1(); if (key != null) { int num2; if (Class1160.dictionary_109 == null) { Dictionary <string, int> dictionary1 = new Dictionary <string, int>(11); 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); dictionary1.Add(BookmarkStart.b("堫伭刯帱儳ᬵ儷吹堻嬽㠿", num), 7); dictionary1.Add(BookmarkStart.b("䌫䰭娯圱圳䈵ᔷ匹刻娽┿㩁", num), 8); dictionary1.Add(BookmarkStart.b("夫崭唯䀱ᤳ張嘷帹夻䘽", num), 9); dictionary1.Add(BookmarkStart.b("丫䜭刯帱崳夵強䠹崻丽⠿㭁", num), 10); Class1160.dictionary_109 = dictionary1; } if (Class1160.dictionary_109.TryGetValue(key, out num2)) { switch (num2) { case 0: case 1: { Class1099.smethod_1(A_0, A_0.method_11().method_1(), evenHeader); continue; } case 2: { Class530.smethod_0(A_0, evenHeader, null); continue; } case 3: { Class90.smethod_0(A_0, evenHeader); continue; } case 4: case 5: case 6: case 7: case 8: case 9: case 10: { if (!Class246.smethod_0(A_0, evenHeader, A_1)) { A_0.method_11().vmethod_1(); } continue; } } } } A_0.method_11().vmethod_1(); } } }