private static void smethod_8(Class17 A_0, Class92 A_1, int A_2, int A_3, Class472 A_4, double A_5, double A_6, bool A_7) { Border border = A_0.method_49()[A_2] as Border; if (A_4 != null) { border.BorderType = A_4.method_2(); border.Color = A_4.method_4(); border.LineWidth = (float)A_4.method_0(); } if ((A_5 > double_0) || (A_0.method_94() == PageBorderOffsetFrom.PageEdge)) { if ((A_6 <= double_0) && A_7) { A_5 = A_6; A_6 = A_5; A_0.method_95(PageBorderOffsetFrom.PageEdge); } else { A_5 = double_0; } } border.Space = Class1133.smethod_5(A_5); border.Shadow = A_1.method_16(); if (A_7) { A_0.method_156(A_3, ((float)(A_6 + A_5)) + ((A_4 == null) ? 0f : border.LineWidth)); } }
private static void smethod_6(Class17 A_0, string A_1) { int num = 0x10; if (((A_1 == BookmarkStart.b("䈵娷主刽", 0x10)) || (A_1 == BookmarkStart.b("䈵娷", num))) || (A_1 == BookmarkStart.b("䈵娷倻䰽", num))) { A_0.method_156(0x988, TextOrientation.Downward); } if ((A_1 == BookmarkStart.b("䐵吷䠻尽", num)) || (A_1 == BookmarkStart.b("䐵吷", num))) { A_0.method_156(0x988, TextOrientation.HorizontalRotatedFarEast); } if ((A_1 == BookmarkStart.b("娵䨷䠻尽", num)) || (A_1 == BookmarkStart.b("娵䨷", num))) { A_0.method_156(0x992, false); } }
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_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); } } }