internal static void smethod_0(Class857 A_0, Class106 A_1) { int num = 9; Class396 class2 = A_0.method_11(); while (class2.method_19()) { string str; if (!Class857.smethod_9(class2, A_1.method_18()) && ((str = class2.method_1()) != null)) { if (str != BookmarkStart.b("丮崰娲刴夶", num)) { if (!(str == BookmarkStart.b("堮堰圲䄴弶", num))) { if (str == BookmarkStart.b("堮䌰娲䄴帶圸尺ြ刾⹀❂⁄", num)) { A_1.method_13(class2.method_3()); } } else { A_1.method_17(Class576.smethod_36(class2.method_3())); } } else { A_1.method_15(Class922.smethod_49(class2.method_3())); } } } }
private static void smethod_3(Class857 A_0, ListLevel A_1) { int num = 15; Class396 class2 = A_0.method_11(); while (class2.method_19()) { string str = class2.method_1(); if (str != null) { if (str != BookmarkStart.b("头帶䨸伺ြ䬾⁀⅂桄㑆㵈⑊㵌扎⅐㱒♔㹖ⵘ㉚㉜ㅞ", num)) { if (!(str == BookmarkStart.b("䄴制䄸伺ြ嘾⽀❂⁄⥆㵈", num))) { if (str == BookmarkStart.b("場嘶䬸尺吼儾汀⽂⁄ⅆ㵈", num)) { A_1.ParagraphFormat.LeftIndent = Class576.smethod_36(class2.method_3()); } } else { A_1.ParagraphFormat.FirstLineIndent = Class576.smethod_36(class2.method_3()); } } else { A_1.TabSpaceAfter = (float)Class576.smethod_41(class2.method_3()); } } } }
internal static void smethod_5(Class857 A_0, Class94 A_1) { int num = 1; Class396 class2 = A_0.method_11(); while (class2.method_19()) { string str; if (((str = class2.method_1()) != null) && (str == BookmarkStart.b("䐦䘨䜪堬䈮弰Ḳ䈴帶崸伺唼", num))) { A_1.method_13(Class576.smethod_36(class2.method_3())); } } }
private static void smethod_2(string A_0, Class43 A_1, bool A_2) { if (Class567.smethod_16(A_0)) { int num4 = Class576.smethod_36(A_0); int propKey = A_2 ? 0x1d2 : 0x1d4; int num = A_2 ? 0x1d0 : 0x1d1; int num3 = num4; if (num3 <= 0xf5) { switch (num3) { case 140: A_1.SetAttr(propKey, StrokeArrowWidth.Narrow); return; case 210: A_1.SetAttr(propKey, StrokeArrowWidth.Medium); return; } if (num3 == 0xf5) { A_1.SetAttr(num, ArrowType.Open); A_1.SetAttr(propKey, StrokeArrowWidth.Narrow); } } else { switch (num3) { case 0x13b: A_1.SetAttr(num, ArrowType.Open); A_1.SetAttr(propKey, StrokeArrowWidth.Medium); return; case 350: A_1.SetAttr(propKey, StrokeArrowWidth.Wide); return; } if (num3 == 420) { A_1.SetAttr(num, ArrowType.Open); A_1.SetAttr(propKey, StrokeArrowWidth.Wide); } } } }
private static void smethod_8(Class857 A_0, ParagraphFormat A_1, Class97 A_2) { int num = 6; Class396 class2 = A_0.method_11(); while (class2.method_19()) { string str = class2.method_1(); if (str != null) { if (str != BookmarkStart.b("䀫䜭帯圱䜳", num)) { if (str != BookmarkStart.b("䠫䜭䌯䘱唳堵嬷弹", num)) { if (!(str == BookmarkStart.b("䀫䬭帯唱䀳帵", num))) { if (str == BookmarkStart.b("弫娭䤯帱儳ᬵ嘷嬹儻嬽", num)) { } } else if (class2.method_3() == BookmarkStart.b("嬫䄭䈯嘱", num)) { A_2.method_24(true); } else { A_2.method_22(class2.method_4()); } } else { A_1.SetAttr(0x5dc, Class576.smethod_36(class2.method_3())); } } else { A_1.DropCapLinesToDrop = class2.method_4(); } } } }
internal static void smethod_1(Class857 A_0, Class103 A_1) { int num = 4; Class396 class2 = A_0.method_11(); RowFormat format = new RowFormat(); while (class2.method_19()) { string str = class2.method_1(); if (str != null) { if (str != BookmarkStart.b("䜩䔫䀭ᴯ䀱嬳䄵ᔷ刹夻圽✿⩁ぃ", num)) { if (!(str == BookmarkStart.b("堩䌫夭ᴯ娱儳張強刹䠻", num))) { if ((str == BookmarkStart.b("䄩䤫䬭䀯ἱ䀳夵強弹䠻嘽┿ぁ", num)) && (class2.method_3() == BookmarkStart.b("䬩䀫夭儯䬱䜳", num))) { format.SetAttr(0x1108, false); } } else { format.Height = ((float)Class576.smethod_36(class2.method_3())) / 20f; format.HeightType = TableRowHeightType.Exactly; } } else { format.Height = ((float)Class576.smethod_36(class2.method_3())) / 20f; format.HeightType = TableRowHeightType.AtLeast; } } } if (format.Count > 0) { A_1.method_13(format); } }
internal static void smethod_0(Class857 A_0, Class92 A_1) { int num = 11; Class17 class2 = new Class17(A_0.method_9()); smethod_5(A_0, A_1, class2); smethod_7(class2, A_1); if (class2.method_80() != 0) { class2.method_156(0x87a, (((class2.method_98() - class2.method_104()) - class2.method_106()) / ((float)class2.method_80())) / 20f); class2.method_81(0); } smethod_4(A_0, class2); if (A_0.method_52() != null) { if (A_0.method_52() != null) { class2.method_73(int.Parse(A_0.method_52().method_4())); } if (A_0.method_52().method_14() == BookmarkStart.b("䔰䄲䀴制", num)) { class2.method_71(LineNumberingRestartMode.RestartPage); } else { class2.method_71(LineNumberingRestartMode.Continuous); } if (A_0.method_52().method_8() != null) { class2.method_127((float)Class576.smethod_50(Class576.smethod_36(A_0.method_52().method_8()))); } } if (class2.Count > 0) { A_1.method_5(class2); } }
private static void smethod_1(Class857 A_0, Class97 A_1, ParagraphFormat A_2) { int num = 0x10; Class396 class2 = A_0.method_11(); bool flag = false; int num2 = 0; int num3 = 0; string str = null; string str2 = null; bool flag2 = false; while (class2.method_19()) { string str3; if (((!Class857.smethod_0(class2, A_1, A_2) && !Class857.smethod_9(class2, A_1.method_35())) && (!Class857.smethod_1(class2, A_1.method_37()) && !Class857.smethod_2(class2, A_1.method_39()))) && ((str3 = class2.method_1()) != null)) { int num4; if (Class1160.dictionary_27 == null) { Dictionary <string, int> dictionary1 = new Dictionary <string, int>(0x16); 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); dictionary1.Add(BookmarkStart.b("崵崷弹䰻ጽ㜿⭁ぃ⹅敇⑉⥋㙍", num), 11); dictionary1.Add(BookmarkStart.b("吵夷夹圻夽㈿ⵁㅃ⡅ⱇ杉⽋⅍㱏㵑♓", num), 12); dictionary1.Add(BookmarkStart.b("䈵崷䈹䠻ጽℿ㝁ぃ⥅㭇㩉ⵋⵍ㕏", num), 13); dictionary1.Add(BookmarkStart.b("䘵䴷吹弻䨽㔿⍁ぃ⽅❇⑉態㥍≏㍑", num), 14); dictionary1.Add(BookmarkStart.b("䀵崷䠹䠻圽⌿⍁⡃歅⥇♉╋⥍㹏", num), 15); dictionary1.Add(BookmarkStart.b("䔵嘷嬹䰻ጽ㐿ⵁ楃⩅⥇㍉⍋㭍网㍓ㅗ㹙", num), 0x10); dictionary1.Add(BookmarkStart.b("帵䄷䨹吻嬽⸿⍁ぃ⽅❇⑉態≍ㅏ㙑こ㍕⩗睙㽛ㅝᕟౡၣ", num), 0x11); dictionary1.Add(BookmarkStart.b("䈵夷堹ᄻ䴽㐿ⵁ㑃歅ⱇ⍉㽋㩍ㅏ㱑㝓㍕", num), 0x12); dictionary1.Add(BookmarkStart.b("䔵倷嬹堻儽㜿", num), 0x13); dictionary1.Add(BookmarkStart.b("䄵儷帹医䤽㌿", num), 20); dictionary1.Add(BookmarkStart.b("夵䨷䨹吻弽⸿ㅁ", num), 0x15); Class1160.dictionary_27 = dictionary1; } if (Class1160.dictionary_27.TryGetValue(str3, out num4)) { switch (num4) { case 0: if (class2.method_3() != BookmarkStart.b("圵䴷丹医", num)) { A_1.method_44(class2.method_3()); } break; case 1: str = class2.method_3(); break; case 2: A_1.method_42(class2.method_4()); break; case 3: if (class2.method_3() == BookmarkStart.b("䈵䨷伹夻", num)) { A_2.SuppressLineNumbers = false; } break; case 4: if (!Class567.smethod_16(A_1.method_6())) { A_1.method_7(Class576.smethod_87(class2.method_3())); } break; case 5: str2 = class2.method_3(); break; case 6: goto Label_0340; case 7: A_2.FirstLineIndent = ((float)Class576.smethod_36(class2.method_3())) / 20f; break; case 8: if (class2.method_3() != BookmarkStart.b("堵圷䠹儻弽ⰿ", num)) { A_2.LineSpacing = ((float)Class576.smethod_52(class2.method_3())) / 20f; A_2.LineSpacingRule = class2.method_3().EndsWith(BookmarkStart.b("ጵ", num)) ? LineSpacingRule.Multiple : LineSpacingRule.Exactly; } break; case 9: A_2.LineSpacingRule = LineSpacingRule.AtLeast; A_2.LineSpacing = ((float)Class576.smethod_36(class2.method_3())) / 20f; break; case 10: if (class2.method_3() == BookmarkStart.b("圵吷䴹崻䜽㌿", num)) { A_2.SetAttr(0x410, true); } break; case 11: if (class2.method_3() == BookmarkStart.b("圵吷䴹崻䜽㌿", num)) { A_2.SetAttr(0x41a, true); } break; case 12: if (class2.method_3() != BookmarkStart.b("䈵䨷嬹刻䴽〿⍁㙃⍅♇㹉", num)) { A_2.SetAttr(0x5b4, Class576.smethod_62(class2.method_3(), (Class16)A_2.method_31(0x5b4))); A_1.method_15().SetAttr(0x5b4, Class576.smethod_62(class2.method_3(), (Class16)A_2.method_31(0x5b4))); } break; case 13: A_2.SetAttr(0x4d8, class2.method_3() == BookmarkStart.b("張尷弹医夽㈿⍁㑃⹅敇⭉⁋㹍㡏㍑", num)); break; case 14: if (class2.method_3() == BookmarkStart.b("䔵儷圹䰻刽┿", num)) { A_2.SetAttr(0x442, false); } break; case 15: { BaselineAlignment alignment = Class922.smethod_43(class2.method_3()); if (alignment != BaselineAlignment.Baseline) { A_2.SetAttr(0x5e6, alignment); } break; } case 0x10: if (class2.method_3() == BookmarkStart.b("䈵䨷伹夻", num)) { A_2.SetAttr(0x4ec, true); } break; case 0x11: if (class2.method_3() == BookmarkStart.b("堵圷倻圽ⴿ⭁ぃ", num)) { A_2.SetAttr(0x582, true); } break; case 0x12: if (A_1.method_0() == null) { A_0.method_9().Settings.float_0 = Class576.smethod_36(class2.method_3()); } break; case 0x13: flag = Class576.smethod_90(class2.method_3()); break; case 20: num2 = class2.method_4(); break; case 0x15: num3 = class2.method_4(); break; } } } continue; Label_0340: flag2 = class2.method_3() == BookmarkStart.b("䐵吷䠻尽", num); if ((class2.method_3() == BookmarkStart.b("䐵吷䠻尽", num)) || (class2.method_3() == BookmarkStart.b("䐵吷", num))) { A_2.SetAttr(0x618, true); } if ((class2.method_3() == BookmarkStart.b("娵䨷䠻尽", num)) || (class2.method_3() == BookmarkStart.b("娵䨷", num))) { A_2.SetAttr(0x618, false); } } if (str2 != null) { A_2.HorizontalAlignment = Class922.smethod_65(str2, flag2); } bool flag3 = (num2 == 2) && (num3 == 2); if ((A_1.method_0() != null) && (A_1.method_0() != BookmarkStart.b("攵䰷嬹刻娽ℿぁ⁃", num))) { if (flag3) { A_2.SetAttr(0x5be, true); } else if (!flag3) { A_2.SetAttr(0x5be, false); } } else if ((num2 >= 2) && (num3 >= 2)) { if (flag3) { A_0.method_9().Settings.bool_67 = true; } } else { A_0.method_9().Settings.bool_67 = false; } if (str == BookmarkStart.b("尵䴷䤹䠻圽☿㭁", num)) { A_2.SetAttr(0x3fc, HorizontalAlignment.Distribute); } smethod_2(A_2, A_1, flag); }
internal static CharacterFormat smethod_0(Class857 A_0, Class96 A_1) { int num = 1; Class396 class2 = A_0.method_11(); CharacterFormat format = new CharacterFormat(A_0.method_9()); string str = class2.method_12(BookmarkStart.b("䄦䘨䔪夬Ȯ䈰娲伴制", 1), BookmarkStart.b("ᘦᤨ嬪夬", 1)); if (str.EndsWith(BookmarkStart.b("Ȧ", 1))) { str = BookmarkStart.b("ᘦᤨ嬪夬", num); } float num3 = Class576.smethod_68(str); string str3 = ""; string str4 = ""; string str5 = ""; string str6 = ""; string str7 = ""; string str8 = ""; string str12 = ""; string str9 = ""; string str10 = ""; string str13 = ""; Color black = Color.Black; Class340 class3 = null; bool flag = true; string str14 = string.Empty; string str15 = string.Empty; bool flag2 = false; bool flag3 = false; class2.method_18(); while (class2.method_19()) { int num2; string[] strArray; bool flag4; string str2 = class2.method_3(); string key = class2.method_1(); if (key != null) { int num4; if (Class1160.dictionary_231 == null) { Dictionary <string, int> dictionary1 = new Dictionary <string, int>(0x2b); 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); dictionary1.Add(BookmarkStart.b("䄦䘨䔪夬Ȯ弰刲場制ᐸ堺刼刾ㅀ⽂⁄㽆", num), 11); dictionary1.Add(BookmarkStart.b("䄦䘨䔪夬Ȯ弰刲場制ᐸ娺丼嘾⁀ⵂ", num), 12); dictionary1.Add(BookmarkStart.b("䄦䘨䔪夬Ȯ䈰娲伴制", num), 13); dictionary1.Add(BookmarkStart.b("䄦䘨䔪夬Ȯ䈰娲伴制ᐸ娺丼嘾⁀ⵂ", num), 14); dictionary1.Add(BookmarkStart.b("䄦䘨䔪夬Ȯ䈰娲伴制ᐸ堺刼刾ㅀ⽂⁄㽆", num), 15); dictionary1.Add(BookmarkStart.b("䄦䘨䔪夬Ȯ䘰嘲尴倶儸伺", num), 0x10); dictionary1.Add(BookmarkStart.b("䄦䘨䔪夬Ȯ䘰嘲尴倶儸伺ြ帾㉀⩂⑄⥆", num), 0x11); dictionary1.Add(BookmarkStart.b("䄦䘨䔪夬Ȯ䘰嘲尴倶儸伺ြ尾⹀⹂㕄⭆ⱈ㍊", num), 0x12); dictionary1.Add(BookmarkStart.b("䄦䘨䔪夬Ȯ䈰䜲䰴嬶尸", num), 0x13); dictionary1.Add(BookmarkStart.b("䄦䘨䔪夬Ȯ䈰䜲䰴嬶尸ᘺ尼䰾⡀≂⭄", num), 20); dictionary1.Add(BookmarkStart.b("䄦䘨䔪夬Ȯ䈰䜲䰴嬶尸ᘺ帼倾ⱀ㍂⥄≆ㅈ", num), 0x15); dictionary1.Add(BookmarkStart.b("䬦䠨䔪䨬娮倰吲倴", num), 0x16); dictionary1.Add(BookmarkStart.b("䐦䘨帪䌬嬮䌰䨲", num), 0x17); dictionary1.Add(BookmarkStart.b("䬦䠨䔪䨬娮倰吲倴ᨶ堸䠺吼帾⽀", num), 0x18); dictionary1.Add(BookmarkStart.b("䐦䘨帪䌬嬮䌰䨲ᠴ嘶䨸刺尼儾", num), 0x19); dictionary1.Add(BookmarkStart.b("䬦䠨䔪䨬娮倰吲倴ᨶ娸吺值伾ⵀ♂㵄", num), 0x1a); dictionary1.Add(BookmarkStart.b("䐦䘨帪䌬嬮䌰䨲ᠴ吶嘸嘺䴼匾⑀㭂", num), 0x1b); dictionary1.Add(BookmarkStart.b("䔦䠨䠪䘬䠮䌰尲䀴夶崸ᘺ帼倾ⵀⱂ㝄", num), 0x1c); dictionary1.Add(BookmarkStart.b("䬦䰨弪夬䨮䌰Ḳ䘴䜶堸堺吼儾♀", num), 0x1d); dictionary1.Add(BookmarkStart.b("䄦䘨䔪夬Ȯ䌰嘲头帶尸崺", num), 30); dictionary1.Add(BookmarkStart.b("䌦䀨堪崬䌮倰䨲", num), 0x1f); dictionary1.Add(BookmarkStart.b("匦䰨匪夬Ȯ匰弲尴夶券刺匼堾", num), 0x20); dictionary1.Add(BookmarkStart.b("匦䰨匪夬Ȯ䈰倲吴嬶尸", num), 0x21); dictionary1.Add(BookmarkStart.b("匦䰨匪夬Ȯ䈰嬲吴匶嘸䰺", num), 0x22); dictionary1.Add(BookmarkStart.b("匦䰨匪夬Ȯ䐰崲儴制䬸场吼儾⑀湂㉄⹆ⵈ㽊╌", num), 0x23); dictionary1.Add(BookmarkStart.b("匦䰨匪夬Ȯ䐰崲儴制䬸场吼儾⑀湂㙄㍆え❊⡌", num), 0x24); dictionary1.Add(BookmarkStart.b("匦䰨匪夬Ȯ䐰崲儴制䬸场吼儾⑀湂ㅄ㹆㥈⹊", num), 0x25); dictionary1.Add(BookmarkStart.b("匦䰨匪夬Ȯ䐰崲儴制䬸场吼儾⑀湂⡄⡆ⵈ⹊", num), 0x26); dictionary1.Add(BookmarkStart.b("匦䰨匪夬Ȯ䐰崲儴制䬸场吼儾⑀湂♄⡆╈⑊㽌", num), 0x27); dictionary1.Add(BookmarkStart.b("匦䰨匪夬Ȯ䌰尲䄴嘶䴸刺刼儾汀あ♄♆╈⹊", num), 40); dictionary1.Add(BookmarkStart.b("匦䰨匪夬Ȯ䌰尲䄴嘶䴸刺刼儾汀≂⭄⁆╈⹊", num), 0x29); dictionary1.Add(BookmarkStart.b("匦䰨匪夬Ȯ吰帲䔴弶堸䠺吼䔾⑀", num), 0x2a); Class1160.dictionary_231 = dictionary1; } if (Class1160.dictionary_231.TryGetValue(key, out num4)) { switch (num4) { case 0: goto Label_04F5; case 1: if (str2 == BookmarkStart.b("否䐨䨪䄬䌮ᰰ倲吴䜶䨸", num)) { format.SetAttr(110, Class650.class650_1); } break; case 2: if (str2 == BookmarkStart.b("刦夨嬪䠬崮到刲䘴制", num)) { format.SetAttr(120, Class650.class650_1); } break; case 3: format.SetAttr(160, Class576.smethod_76(str2)); break; case 4: if (str2 == BookmarkStart.b("匦嬨帪䠬", num)) { format.SetAttr(90, Class650.class650_1); } break; case 5: goto Label_05F1; case 6: if (str2 == "") { flag = false; } break; case 7: if (!(str2 == BookmarkStart.b("否䘨䜪䐬䬮", num))) { goto Label_067D; } format.SetAttr(80, Class650.class650_1); break; case 8: format.SetAttr(220, 1.5f); if (str2 != BookmarkStart.b("匦嬨帪䠬", num)) { format.SetAttr(220, 0f); } break; case 9: strArray = str2.Split(new char[] { ' ' }); if (!(strArray[0] == BookmarkStart.b("否尨嬪䠬崮", num))) { goto Label_072E; } format.SetAttr(210, SubSuperScript.SuperScript); goto Label_0755; case 10: { string str11 = (string)A_0.method_54()[class2.method_3()]; if (Class567.smethod_16(str11)) { format.FontNameAscii = str11; format.FontNameNonFarEast = str11; } break; } case 11: { string str17 = (string)A_0.method_54()[class2.method_3()]; if (Class567.smethod_16(str17)) { format.FontNameBidi = (string)A_0.method_54()[class2.method_3()]; } break; } case 12: { string str16 = (string)A_0.method_54()[class2.method_3()]; if (Class567.smethod_16(str16)) { format.FontNameFarEast = (string)A_0.method_54()[class2.method_3()]; } break; } case 13: Class576.smethod_66(class2.method_3(), A_1, format, 190); break; case 14: case 15: Class576.smethod_66(class2.method_3(), A_1, format, 350); break; case 0x10: str14 = smethod_4(str2); break; case 0x11: str15 = smethod_4(str2); break; case 0x12: format.SetAttr(250, new Class650(Class576.smethod_70(class2.method_3()))); break; case 0x13: flag2 = Class576.smethod_69(class2.method_3()); break; case 20: flag3 = Class576.smethod_69(class2.method_3()); break; case 0x15: format.SetAttr(260, new Class650(Class576.smethod_69(class2.method_3()))); break; case 0x16: str3 = class2.method_3(); break; case 0x17: str4 = class2.method_3(); break; case 0x18: str5 = class2.method_3(); break; case 0x19: str6 = class2.method_3(); break; case 0x1a: str7 = class2.method_3(); break; case 0x1b: str8 = class2.method_3(); break; case 0x1c: format.SetAttr(370, Class576.smethod_62(str2, (Class16)format.method_31(370))); break; case 0x1d: format.SetAttr(150, (class2.method_3() == BookmarkStart.b("䤦䘨太䀬丮崰", num)) ? 0f : (((float)Class576.smethod_36(class2.method_3())) / 20f)); break; case 30: goto Label_09A1; case 0x1f: goto Label_09F9; case 0x20: smethod_3(class2.method_3(), black); break; case 0x21: format.SetAttr(290, smethod_2(class2.method_3())); break; case 0x22: if (class2.method_3() != BookmarkStart.b("䤦䘨䔪䠬", num)) { format.SetAttr(100, Class650.class650_1); } break; case 0x23: str12 = class2.method_3(); break; case 0x24: str9 = class2.method_3(); break; case 0x25: str13 = class2.method_3(); break; case 0x26: str10 = class2.method_3(); break; case 0x27: if (class2.method_3() != BookmarkStart.b("䄦䘨䔪夬Ȯ到尲头堶䬸", num)) { format.SetAttr(450, Class576.smethod_76(class2.method_3())); } break; case 40: goto Label_0B20; case 0x29: goto Label_0B51; case 0x2a: format.SetAttr(770, smethod_5(str2)); break; } } } continue; Label_04F5: flag4 = str2 == BookmarkStart.b("匦嬨帪䠬", num); if ((A_1.method_4() == BookmarkStart.b("圦䠨太䰬䠮䌰刲䔴弶", num)) && (A_1.method_0() == null)) { A_0.method_9().Settings.bool_27 = flag4; } A_1.method_15().SetAttr(0x582, !flag4); continue; Label_05F1: if (str2 == BookmarkStart.b("䌦䘨帪伬䌮吰", num)) { format.SetAttr(300, Class650.class650_1); } if (str2 == BookmarkStart.b("否䀨䔪䨬䌮吰", num)) { format.SetAttr(80, Class650.class650_1); } continue; Label_067D: if (str2 == BookmarkStart.b("䤦䘨䔪䠬", num)) { format.SetAttr(80, Class650.class650_0); } continue; Label_072E: if (strArray[0] == BookmarkStart.b("否尨䤪", num)) { format.SetAttr(210, SubSuperScript.SubScript); } Label_0755: format.SetAttr(200, Class576.smethod_73(format, str2, num3)); continue; Label_09A1: if (class2.method_3() == BookmarkStart.b("䈦䜨䰪弬丮䜰嘲儴", num)) { format.SetAttr(180, Class650.class650_1); } if (class2.method_3() == BookmarkStart.b("䈦䐨䤪䈬尮䈰嘲儴", num)) { format.SetAttr(170, Class650.class650_1); } continue; Label_09F9: if (class2.method_3() == BookmarkStart.b("䤦䘨䔪䠬", num)) { format.SetAttr(130, Class650.class650_1); } if (class2.method_3() == BookmarkStart.b("匦嬨帪䠬", num)) { format.SetAttr(130, Class650.class650_0); } continue; Label_0B20: if (class2.method_3() == BookmarkStart.b("䬦䀨䔪䠬Ȯ夰嘲尴倶儸伺", num)) { if (class3 == null) { class3 = smethod_1(A_0); } class3.method_7(true); } continue; Label_0B51: num2 = Class1041.smethod_23(str2) % 360; if (((num2 >= 0x2d) && (num2 < 180)) || ((num2 >= -315) && (num2 < -180))) { if (class3 == null) { class3 = smethod_1(A_0); } class3.method_1(true); } if (class3 == null) { A_1.method_20(Class922.smethod_70(class2.method_3())); } } if (!flag) { format.SetAttr(80, Class650.class650_0); format.SetAttr(300, Class650.class650_0); } if ((str14 != string.Empty) || (str15 != string.Empty)) { if (!(str14 == BookmarkStart.b("匦嬨帪䠬", num)) && !(str15 == BookmarkStart.b("匦嬨帪䠬", num))) { format.SetAttr(60, Class650.class650_0); } else { format.SetAttr(60, Class650.class650_1); } } if (flag2 || flag3) { format.SetAttr(70, Class650.class650_1); } if (class3 != null) { format.SetAttr(780, class3); } format.SetAttr(380, (short)Class922.smethod_81(string.Format(BookmarkStart.b("尦ᤨ嘪,吮0串", num), str3, str4))); format.SetAttr(390, (short)Class922.smethod_81(string.Format(BookmarkStart.b("尦ᤨ嘪,吮0串", num), str5, str6))); format.SetAttr(340, (short)Class922.smethod_81(string.Format(BookmarkStart.b("尦ᤨ嘪,吮0串", num), str7, str8))); if ((Class567.smethod_16(str9) || (str10 == BookmarkStart.b("否䈨䈪崬Ȯ䘰嬲尴䌶尸ᘺ丼伾⁀⁂⁄", num))) || (str12 == BookmarkStart.b("匦䄨䈪丬䐮", num))) { format.SetAttr(140, Class922.smethod_68(str9, str12, str10, str13)); } return(format); }
internal static void smethod_1(Class857 A_0, Class17 A_1) { int num = 5; Class396 class2 = A_0.method_11(); A_1.method_121(0); A_1.method_123(new ColumnCollection(A_0.method_9())); A_1.method_119(false); while (class2.method_19()) { string str2 = class2.method_1(); if (str2 != null) { if (!(str2 == BookmarkStart.b("䠪䈬䌮䐰帲嬴ᨶ娸吺䠼儾㕀", num))) { if (str2 == BookmarkStart.b("䠪䈬䌮䐰帲嬴ᨶ常娺䴼", num)) { A_1.method_121(Class576.smethod_36(class2.method_3())); A_1.method_119(true); } } else { A_1.method_117(class2.method_4()); } } } ArrayList list = new ArrayList(); float num4 = 0f; float num5 = 0f; 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_0113; } A_1.method_63(true); smethod_3(A_0); } else { Column column3 = smethod_2(A_0, A_1, list, ref num5); A_1.method_122().Add(column3); num4 += (int)column3.Width; } continue; } Label_0113: class2.vmethod_1(); } if (A_1.method_122().Count > 0) { Column column1 = A_1.method_122()[A_1.method_122().Count - 1]; column1.Space -= num5; } double num2 = num4 / ((A_1.method_96() - A_1.method_50().Left) - A_1.method_50().Right); num2 = (num2 > 0.0) ? num2 : 1.0; for (int i = 0; i < A_1.method_122().Count; i++) { Column column = A_1.method_122()[i]; float num6 = (float)((((double)column.Width) / num2) / 20.0); float num7 = 0f; if (i < (A_1.method_122().Count - 1)) { num7 = column.Space - ((float)list[i + 1]); } column.Width = (num6 - ((float)list[i])) - num7; } if (A_1.method_122().Count == 0) { for (int j = 0; j < A_1.method_116(); j++) { Column column2 = new Column(A_0.method_9()) { Space = ((float)A_1.method_120()) / 20f, Width = (((((A_1.method_96() - A_1.method_102()) - A_1.method_100()) - ((A_1.method_116() - 1) * A_1.method_120())) - (A_1.method_50().Gutter * 20f)) / ((float)A_1.method_116())) / 20f }; A_1.method_122().Add(column2); } } }
private static void smethod_5(Class857 A_0, Class92 A_1, Class17 A_2) { int num = 11; Class396 class2 = A_0.method_11(); while (class2.method_19()) { string str2; if ((!Class857.smethod_1(class2, A_1.method_8()) && !Class857.smethod_9(class2, A_1.method_6())) && (!Class857.smethod_2(class2, A_1.method_10()) && ((str2 = class2.method_1()) != null))) { int num2; if (Class1160.dictionary_184 == null) { Dictionary <string, int> dictionary1 = new Dictionary <string, int>(9); 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); Class1160.dictionary_184 = dictionary1; } if (Class1160.dictionary_184.TryGetValue(str2, out num2)) { switch (num2) { case 0: if (class2.method_3() != BookmarkStart.b("0", num)) { A_2.method_53(Class922.smethod_58(class2.method_3())); } break; case 1: A_2.method_156(0x8d4, (float)Class576.smethod_36(class2.method_3())); break; case 2: A_2.method_156(0x8de, (float)Class576.smethod_36(class2.method_3())); break; case 3: A_2.method_156(0x8a2, Class922.smethod_86(class2.method_3())); break; case 4: smethod_6(A_2, class2.method_3()); break; case 5: A_1.method_17(Class576.smethod_90(class2.method_3())); break; case 6: A_0.method_9().Background.Color = Class576.smethod_76(class2.method_3()); break; case 7: { string str = class2.method_3(); if (str != null) { if (str == BookmarkStart.b("崰娲嬴制", num)) { goto Label_026C; } if (str == BookmarkStart.b("匰尲䄴弶", num)) { A_2.method_156(0x97e, GridPitchType.CharsAndLine); } } break; } case 8: A_2.method_156(0xa50, int.Parse(class2.method_3())); break; } } } continue; Label_026C: A_2.method_156(0x97e, GridPitchType.LinesOnly); } Class1138 class3 = A_0.method_52(); if ((class3 != null) && (class3.method_0() == BookmarkStart.b("䔰䄲䀴制", num))) { A_2.SetAttr(0x848, 1); if (Class567.smethod_16(class3.method_4())) { A_2.SetAttr(0x848, Class1041.smethod_11(class3.method_4())); } if (Class567.smethod_16(class3.method_8())) { A_2.SetAttr(0x960, Class576.smethod_36(class3.method_8())); } if (class3.method_14() == BookmarkStart.b("䔰䄲䀴制", num)) { A_2.SetAttr(0x83e, LineNumberingRestartMode.RestartPage); } } }