private static Class340 smethod_1(Class857 A_0) { Class340 class2 = new Class340(); class2.method_9(A_0.method_57()); A_0.method_58(A_0.method_57() + 1); return(class2); }
private void method_71(BinaryReader A_0) { Class340 class2 = new Class340(); int num = A_0.ReadUInt16(); class2.method_1((num & 1) != 0); class2.method_3((num & 2) != 0); class2.method_5((CombineBrackets)((num & 0x500) >> 8)); class2.method_7((num & 0x1000) != 0); class2.method_9(A_0.ReadInt32()); base.wordAttrCollection_0.SetAttr(780, class2); }
private void method_72(Class340 A_0) { base.class345_0.method_5(SprmCode.CFELayout); base.class345_0.Write((byte)6); int num = 0; num = 0 | (A_0.method_0() ? 1 : 0); num |= A_0.method_2() ? 2 : 0; num |= ((int)A_0.method_4()) << 8; num |= A_0.method_6() ? 0x1000 : 0; base.class345_0.Write((ushort)num); base.class345_0.Write(A_0.method_8()); }
private static void smethod_3(CharacterFormat A_0, Class394 A_1) { int num = 12; Class340 class2 = new Class340(); while (A_1.method_19()) { string str = A_1.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))) { if (str == BookmarkStart.b("儱嬳嬵娷匹刻嬽洿⁁㙃❅⭇ⅉ⥋㩍⍏", num)) { class2.method_5(Class860.smethod_5(A_1.method_3())); } } else { class2.method_3(A_1.method_63()); } } else { class2.method_7(A_1.method_63()); } } else { class2.method_1(A_1.method_63()); } } else { class2.method_9(A_1.method_4()); } } } A_0.FarEastLayout = class2; }
private void method_5(IRunAttrSource A_0, AttrCollection A_1, bool A_2) { bool flag; int num = 13; Paragraph paragraph2 = (flag = (A_0 != null) && (A_0 is Paragraph)) ? ((Paragraph)A_0) : null; AttrCollection attrs = this.method_6(A_0, A_1, A_2); for (int i = 0; i < attrs.Count; i++) { int num2 = attrs.method_18(i); object obj2 = attrs.method_19(i); if (obj2 == null) { continue; } this.class743_0.int_0++; int num3 = num2; if (num3 <= 210) { if (num3 <= 120) { if (num3 <= 80) { if (num3 <= 60) { if (num3 != 20) { if (num3 != 60) { goto Label_085E; } this.class743_0.string_21 = this.method_9(attrs as CharacterFormat, num2, BookmarkStart.b("儲娴嬶崸", num), BookmarkStart.b("崲娴䔶吸娺儼", num)); } else { this.class743_0.string_33 = Class576.smethod_74((Color)obj2, false); } } else if (num3 != 70) { if (num3 != 80) { goto Label_085E; } this.class743_0.string_30 = this.method_9(attrs as CharacterFormat, num2, BookmarkStart.b("䀲娴嬶倸强", num), null); if (this.class743_0.string_30 == null) { this.class743_0.string_30 = BookmarkStart.b("崲娴夶尸", num); } } else { this.class743_0.string_25 = this.method_9(attrs as CharacterFormat, num2, BookmarkStart.b("娲䄴嘶唸刺帼", num), BookmarkStart.b("崲娴䔶吸娺儼", num)); } } else if (num3 <= 100) { if (num3 != 90) { if (num3 != 100) { goto Label_085E; } this.class743_0.string_35 = this.method_9(attrs as CharacterFormat, num2, BookmarkStart.b("Ȳ䔴䌶ᤸ䴼䬾", num), null); } else { this.class743_0.string_34 = this.method_9(attrs as CharacterFormat, num2, BookmarkStart.b("䜲䜴䈶尸", num), null); } } else if (num3 != 110) { if (num3 != 120) { goto Label_085E; } this.class743_0.string_29 = this.method_9(attrs as CharacterFormat, num2, BookmarkStart.b("䘲䔴䜶尸䤺帼帾㉀♂", num), null); } else { this.class743_0.string_28 = this.method_9(attrs as CharacterFormat, num2, BookmarkStart.b("䀲場嘶唸场ြ尾⁀㍂㙄", num), null); } } else if (num3 <= 160) { if (num3 <= 140) { if (num3 != 130) { if (num3 != 140) { goto Label_085E; } UnderlineStyle style = (UnderlineStyle)obj2; this.class743_0.string_15 = Class922.smethod_67(style); this.class743_0.string_18 = Class922.smethod_66(style); switch (style) { case UnderlineStyle.Double: case UnderlineStyle.WavyDouble: this.class743_0.string_16 = BookmarkStart.b("圲娴䈶嬸场堼", num); break; } if (style == UnderlineStyle.Words) { this.class743_0.string_17 = BookmarkStart.b("䀲帴帶䤸ᘺ䨼圾⡀㝂⁄橆㩈㭊ⱌⱎ㑐", num); } } else { this.class743_0.string_37 = this.method_9(attrs as CharacterFormat, num2, BookmarkStart.b("崲娴夶尸", num), BookmarkStart.b("䜲䜴䈶尸", num)); } } else if (num3 != 150) { if (num3 != 160) { goto Label_085E; } this.class743_0.string_20 = Class576.smethod_75((Color)obj2); } else { this.class743_0.string_40 = Class576.smethod_35(obj2); } } else if (num3 <= 180) { if (num3 != 170) { if (num3 != 180) { goto Label_085E; } this.class743_0.string_36 = this.method_9(attrs as CharacterFormat, num2, BookmarkStart.b("嘲嬴倶䬸娺䬼娾╀", num), null); } else { this.class743_0.string_36 = this.method_9(attrs as CharacterFormat, num2, BookmarkStart.b("嘲場唶嘸䠺丼娾╀", num), null); } } else { switch (num3) { case 190: { this.class743_0.string_3 = Class576.smethod_65(obj2); continue; } case 200: { this.class743_0.string_32 = Class576.smethod_71(obj2, ((CharacterFormat)attrs).FontSize); continue; } } if (num3 != 210) { goto Label_085E; } this.class743_0.string_32 = Class922.smethod_74((SubSuperScript)obj2); } continue; } if (num3 <= 310) { if (num3 <= 250) { if (num3 <= 230) { if (num3 != 220) { if (num3 != 230) { goto Label_085E; } this.class743_0.string_0 = (string)obj2; } else { this.class743_0.string_46 = BookmarkStart.b("䜲䜴䈶尸", num); if (((float)obj2) == 0f) { this.class743_0.string_46 = BookmarkStart.b("唲吴嬶䨸帺", num); } } } else if (num3 != 0xeb) { if (num3 != 250) { goto Label_085E; } this.class743_0.string_23 = this.method_9(attrs as CharacterFormat, num2, BookmarkStart.b("儲娴嬶崸", num), BookmarkStart.b("崲娴䔶吸娺儼", num)); } else { this.class743_0.string_2 = (string)obj2; } } else if (num3 <= 270) { if (num3 != 260) { if (num3 != 270) { goto Label_085E; } this.class743_0.string_1 = (string)obj2; } else { this.class743_0.string_27 = this.method_9(attrs as CharacterFormat, num2, BookmarkStart.b("娲䄴嘶唸刺帼", num), BookmarkStart.b("崲娴䔶吸娺儼", num)); } } else { switch (num3) { case 290: { this.class743_0.string_39 = string.Format(BookmarkStart.b("䠲Դ䨶", num), (short)obj2); continue; } case 300: { this.class743_0.string_31 = this.method_9(attrs as CharacterFormat, num2, BookmarkStart.b("圲娴䈶嬸场堼", num), null); if (this.class743_0.string_30 == null) { this.class743_0.string_30 = BookmarkStart.b("崲娴夶尸", num); } continue; } } if (num3 != 310) { goto Label_085E; } if (((TextEffect)obj2) == TextEffect.None) { this.class743_0.int_0--; } else { this.class743_0.string_38 = BookmarkStart.b("䜲䜴䈶尸", num); } } continue; } if (num3 <= 380) { if (num3 <= 350) { if (num3 != 340) { if (num3 != 350) { goto Label_085E; } this.class743_0.string_5 = Class576.smethod_65(((CharacterFormat)attrs).FontSize); this.class743_0.string_4 = Class576.smethod_65(obj2); } else { this.class743_0.string_11 = Class922.smethod_80(int.Parse(obj2.ToString())); if (this.class743_0.string_11 == BookmarkStart.b("崲娴夶尸", num)) { this.class743_0.int_0--; } } } else if (num3 != 370) { if (num3 != 380) { goto Label_085E; } this.class743_0.string_9 = Class922.smethod_80((short)obj2); if (this.class743_0.string_9 == BookmarkStart.b("崲娴夶尸", num)) { this.class743_0.int_0--; } } else { this.class743_0.string_33 = Class576.smethod_83((Class16)obj2); } continue; } if (num3 <= 450) { if (num3 != 390) { if (num3 != 450) { goto Label_085E; } this.class743_0.string_19 = Class576.smethod_74((Color)obj2, false); } else { this.class743_0.string_10 = Class922.smethod_80((short)obj2); if (this.class743_0.string_10 == BookmarkStart.b("崲娴夶尸", num)) { this.class743_0.int_0--; } } continue; } switch (num3) { case 770: { this.class743_0.string_47 = this.method_10((Emphasis)obj2); continue; } case 780: { Class340 class2 = (Class340)obj2; if (class2.method_6()) { this.class743_0.string_45 = BookmarkStart.b("弲尴夶尸ᘺ唼娾⡀⑂ⵄ㍆", num); } if (class2.method_0()) { this.class743_0.string_24 = BookmarkStart.b("ਲԴ", num); } continue; } case 0x271a: { this.class743_0.class580_0 = (Class580)obj2; continue; } } Label_085E: this.class743_0.int_0--; } this.class743_0.string_6 = Class922.smethod_82(this.class743_0.string_9); this.class743_0.string_12 = Class922.smethod_83(this.class743_0.string_9); this.class743_0.string_7 = Class922.smethod_82(this.class743_0.string_10); this.class743_0.string_13 = Class922.smethod_83(this.class743_0.string_10); this.class743_0.string_8 = Class922.smethod_82(this.class743_0.string_11); this.class743_0.string_14 = Class922.smethod_83(this.class743_0.string_11); if (!flag && (A_0 is DocumentObject)) { DocumentObject obj4 = (DocumentObject)A_0; if (obj4.ParentObject is Paragraph) { Paragraph parentObject = (Paragraph)obj4.ParentObject; object obj5 = null; if (parentObject.IsInCell || (parentObject.IsInCell && (((TableCell)parentObject.OwnerTextBody).Paragraphs[0] == parentObject))) { obj5 = ((TableCell)parentObject.OwnerTextBody).CellFormat.method_31(0xbea); } if (obj5 != null) { this.class743_0.string_24 = Class922.smethod_69((TextOrientation)obj5); if (this.class743_0.string_24 != null) { this.class743_0.int_0++; } } } } if (paragraph2 != null) { object obj3 = paragraph2.Format.method_31(0x582); if ((obj3 != null) && ((bool)obj3)) { this.class743_0.string_42 = BookmarkStart.b("唲吴嬶䨸帺", num); this.class743_0.string_43 = BookmarkStart.b("IJ", num); this.class743_0.string_44 = BookmarkStart.b("IJ", num); this.class743_0.int_0++; } else if (!((bool)obj3)) { this.class743_0.string_42 = BookmarkStart.b("䜲䜴䈶尸", num); this.class743_0.int_0++; } } if (A_2) { this.class743_0.string_41 = BookmarkStart.b("䜲䜴䈶尸", num); this.class743_0.int_0++; } }
private static bool smethod_0(Class340 class340_0) { return class340_0.double_0 < 0.0 && class340_0.double_0 != -100.0; }
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); }
private static void smethod_4(Class398 A_0, Class340 A_1, bool A_2) { int num = 4; A_0.method_33(A_2 ? BookmarkStart.b("崩ᘫ䬭儯䄱䀳眵䬷匹崻倽ి⍁㵃⥅㵇㹉", num) : BookmarkStart.b("崩ᘫ伭䌯嬱唳堵琷嬹䔻儽㔿㙁", num), new object[] { BookmarkStart.b("崩ᘫ䜭启", num), A_1.method_8(), BookmarkStart.b("崩ᘫ堭唯䀱䀳", num), A_1.method_0(), A_2 ? BookmarkStart.b("崩ᘫ堭唯䀱䀳电圷圹䰻䰽┿ㅁ㝃", num) : BookmarkStart.b("崩ᘫ堭唯䀱䀳ᬵ嬷唹儻丽㈿❁㝃㕅", num), A_1.method_6(), BookmarkStart.b("崩ᘫ䴭弯弱嘳張嘷弹", num), A_1.method_2(), A_2 ? BookmarkStart.b("崩ᘫ䴭弯弱嘳張嘷弹縻䰽ℿ⅁⽃⍅㱇㥉", num) : BookmarkStart.b("崩ᘫ䴭弯弱嘳張嘷弹ᄻ尽㈿⍁❃ⵅⵇ㹉㽋", num), Class860.smethod_6(A_1.method_4()) }); }
private static bool smethod_3(CharacterFormat A_0, IRunAttrSource A_1, bool A_2, bool A_3, bool A_4, Interface52 A_5, bool A_6) { int num = 13; if (A_0 == null) { return(false); } bool flag = A_5.imethod_2(); int num2 = 0; string styleId = null; string str2 = null; string str3 = null; string str4 = null; string str5 = null; string str6 = null; string str7 = null; string str8 = null; string str9 = null; string str10 = null; object obj2 = null; object obj3 = null; object obj4 = null; object obj5 = null; object obj6 = null; object obj7 = null; object obj8 = null; object obj9 = null; object obj10 = null; object obj11 = null; object obj12 = null; object obj13 = null; object obj14 = null; object obj15 = null; object obj16 = null; object obj17 = null; object obj18 = null; object obj19 = null; object obj20 = null; object obj21 = null; object obj22 = null; object obj23 = null; object obj24 = null; object obj25 = null; object obj26 = null; object obj27 = null; object obj28 = null; string str11 = null; string str12 = null; string str13 = null; Border border = null; Class16 class2 = null; string str14 = null; string str15 = null; string str16 = null; object obj29 = null; object obj30 = null; string str17 = null; string str18 = null; string str19 = null; string str20 = null; string str21 = null; string str22 = null; Class340 class3 = null; object obj31 = null; object obj32 = null; object obj33 = null; object obj34 = null; bool flag2 = false; for (int i = 0; i < A_0.Count; i++) { int num4 = A_0.method_18(i); object obj35 = A_0.method_19(i); num2++; int num5 = num4; if (num5 <= 0x109) { if (num5 <= 150) { if (num5 <= 80) { if (num5 <= 0x2d) { switch (num5) { case 10: { obj31 = A_0.method_62((short)num4); continue; } case 12: { if (!A_6 && !(A_1 is Paragraph)) { num2--; } continue; } case 14: { if (!A_6 && !(A_1 is Paragraph)) { num2--; } continue; } case 20: { obj28 = Class860.smethod_20((Color)obj35, flag); continue; } case 0x2d: { num2--; continue; } } goto Label_08AF; } switch (num5) { case 60: { obj2 = A_0.method_62((short)num4); continue; } case 70: { obj4 = A_0.method_62((short)num4); continue; } } if (num5 != 80) { goto Label_08AF; } obj8 = A_0.method_62((short)num4); } else if (num5 <= 110) { switch (num5) { case 90: { obj10 = A_0.method_62((short)num4); continue; } case 100: { obj11 = A_0.method_62((short)num4); continue; } } if (num5 != 110) { goto Label_08AF; } obj7 = A_0.method_62((short)num4); } else { if (num5 <= 0x84) { switch (num5) { case 130: { obj16 = A_0.method_62((short)num4); continue; } case 0x84: { obj17 = A_0.method_62((short)num4); continue; } case 120: { obj6 = A_0.method_62((short)num4); continue; } } goto Label_08AF; } if (num5 == 140) { str11 = Class860.smethod_18((UnderlineStyle)obj35, flag); } else { if (num5 != 150) { goto Label_08AF; } if (((float)obj35) != 0f) { obj22 = (int)(((float)obj35) * 20f); } } } } else if (num5 <= 210) { if (num5 <= 180) { switch (num5) { case 160: { obj18 = obj35; continue; } case 170: { obj12 = A_0.method_62((short)num4); continue; } } if (num5 != 180) { goto Label_08AF; } obj13 = A_0.method_62((short)num4); } else { switch (num5) { case 190: { obj26 = obj35; continue; } case 200: { obj25 = ((float)obj35) * 2f; continue; } } if (num5 != 210) { goto Label_08AF; } str16 = Class860.smethod_22((SubSuperScript)obj35); } } else if (num5 <= 0xeb) { switch (num5) { case 220: { obj24 = ((float)obj35) * 2f; continue; } case 230: { str2 = (string)obj35; continue; } } if (num5 != 0xeb) { goto Label_08AF; } str4 = (string)obj35; } else if (num5 <= 250) { if (num5 != 240) { if (num5 != 250) { goto Label_08AF; } obj3 = A_0.method_62((short)num4); } else { str3 = (string)obj35; } } else if (num5 != 260) { if (num5 != 0x109) { goto Label_08AF; } obj29 = A_0.method_62((short)num4); } else { obj5 = A_0.method_62((short)num4); } continue; } if (num5 <= 440) { if (num5 <= 340) { if (num5 <= 300) { switch (num5) { case 0x10c: { obj30 = A_0.method_62((short)num4); continue; } case 270: { str5 = (string)obj35; continue; } case 290: { obj23 = obj35; continue; } case 300: { obj9 = A_0.method_62((short)num4); continue; } } goto Label_08AF; } switch (num5) { case 310: { str13 = Class860.smethod_16((TextEffect)obj35, flag); continue; } case 330: { obj15 = A_0.method_62((short)num4); continue; } } if (num5 != 340) { goto Label_08AF; } str22 = Class860.smethod_1((short)obj35, flag); if (!Class567.smethod_16(str22)) { num2--; } } else if (num5 <= 370) { switch (num5) { case 350: { obj27 = obj35; continue; } case 360: { border = (Border)obj35; continue; } } if (num5 != 370) { goto Label_08AF; } class2 = (Class16)obj35; } else if (num5 <= 390) { if (num5 != 380) { if (num5 != 390) { goto Label_08AF; } str21 = Class860.smethod_1((short)obj35, flag); if (!Class567.smethod_16(str21)) { num2--; } } else { str20 = Class860.smethod_1((short)obj35, flag); if (!Class567.smethod_16(str20)) { num2--; } } } else if (num5 != 400) { if (num5 != 440) { goto Label_08AF; } obj14 = A_0.method_62((short)num4); } else { str6 = Class860.smethod_10((CharacterCategory)Enum.ToObject(typeof(CharacterCategory), obj35), flag); } continue; } if (num5 <= 530) { if (num5 <= 470) { switch (num5) { case 450: { str12 = Class114.smethod_12((Color)obj35); continue; } case 460: { if (flag) { num2--; } else { str19 = Class860.smethod_24((HyphenRule)obj35); } continue; } } if (num5 != 470) { goto Label_08AF; } num2--; continue; } if (num5 <= 510) { if (num5 == 500) { if (flag) { obj19 = obj35; } else { num2--; } } else { if (num5 != 510) { goto Label_08AF; } if (flag) { obj20 = obj35; } else { num2--; } } continue; } switch (num5) { case 520: { if (!flag) { break; } obj21 = obj35; continue; } case 0x209: { if (!flag) { num2--; } continue; } case 0x20a: { if (!flag) { num2--; } continue; } case 0x20b: { if (!flag) { num2--; } continue; } case 530: { if (flag) { str7 = (string)obj35; } else { num2--; } continue; } default: goto Label_08AF; } num2--; continue; } if (num5 <= 560) { switch (num5) { case 540: { if (flag) { str8 = (string)obj35; } else { num2--; } continue; } case 550: { if (flag) { str9 = (string)obj35; } else { num2--; } continue; } } if (num5 != 560) { goto Label_08AF; } if (flag) { str10 = (string)obj35; } else { num2--; } continue; } if (num5 <= 770) { if (num5 != 760) { if (num5 != 770) { goto Label_08AF; } str17 = Class860.smethod_4((Emphasis)obj35, flag); } else { flag2 = true; } continue; } switch (num5) { case 780: { class3 = (Class340)obj35; continue; } case 0x271a: { continue; } } Label_08AF: num2--; } if ((A_0 != null) && !string.IsNullOrEmpty(A_0.CharStyleName)) { Style style = A_0.Document.Styles.DocStyleCollection.FindByName(A_0.CharStyleName); if (style != null) { if (flag) { styleId = style.StyleId; } else { styleId = A_5.imethod_4(style.StyleDocId); } num2++; } else { styleId = null; } } else { styleId = null; } if ((num2 == 0) && !A_4) { return(false); } Class398 class4 = A_5.imethod_1(); if (A_3) { class4.method_4(BookmarkStart.b("䐲༴䜶椸䤺", num)); } class4.method_4(BookmarkStart.b("䐲༴䔶椸䤺", num)); if (!A_6 && (A_1 is Paragraph)) { if (A_0.HasInsertRevision) { string str23 = flag ? (A_5 as Class421).class401_0.method_3().method_476() : A_5.imethod_6().ToString(); class4.vmethod_12(A_0.InsertRevision, str23, flag); } if (A_0.HasDeleteRevision) { string str24 = flag ? (A_5 as Class421).class401_0.method_3().method_476() : A_5.imethod_6().ToString(); class4.vmethod_12(A_0.DeleteRevision, str24, flag); } } class4.method_24(BookmarkStart.b("䐲༴䔶樸伺䐼匾⑀", num), styleId); if (flag) { class4.method_31(BookmarkStart.b("䐲༴堶琸娺䤼圾", num), flag2); class4.method_33(BookmarkStart.b("䐲༴䔶缸吺匼䬾㉀", num), new object[] { BookmarkStart.b("䐲༴嘶䨸堺吼嘾", num), str2, BookmarkStart.b("䐲༴制堸䠺䤼績㉀⩂⑄", num), str4, BookmarkStart.b("䐲༴弶砸唺丼嘾", num), str3, BookmarkStart.b("䐲༴嘶䨸堺吼嘾ᕀ⭂⁄⩆ⱈ", num), str7, BookmarkStart.b("䐲༴制堸䠺䤼績㉀⩂⑄ፆⅈ⹊⁌⩎", num), str9, BookmarkStart.b("䐲༴弶砸唺丼嘾ᕀ⭂⁄⩆ⱈ", num), str8, BookmarkStart.b("䐲༴吶䨸", num), str5, BookmarkStart.b("䐲༴吶䨸伺唼娾ⱀ♂", num), str10, BookmarkStart.b("䐲༴弶倸唺䤼", num), str6 }); } else { class4.method_33(BookmarkStart.b("䐲༴䔶缸吺匼䬾㉀", num), new object[] { BookmarkStart.b("䐲༴嘶䨸堺吼嘾", num), str2, BookmarkStart.b("䐲༴儶堸䤺堼帾㉀㝂", num), str4, BookmarkStart.b("䐲༴弶ᐸ娺匼䰾⡀", num), str3, BookmarkStart.b("䐲༴吶䨸", num), str5, BookmarkStart.b("䐲༴弶倸唺䤼", num), str6 }); } class4.method_22(BookmarkStart.b("䐲༴唶", num), obj2); class4.method_22(flag ? BookmarkStart.b("䐲༴唶稸䠺", num) : BookmarkStart.b("䐲༴唶ᐸ堺丼", num), obj3); class4.method_22(BookmarkStart.b("䐲༴帶", num), obj4); class4.method_22(flag ? BookmarkStart.b("䐲༴帶稸䠺", num) : BookmarkStart.b("䐲༴帶ᐸ堺丼", num), obj5); class4.method_22(BookmarkStart.b("䐲༴吶堸䬺丼", num), obj6); class4.method_22(BookmarkStart.b("䐲༴䐶吸娺儼匾ɀ≂㕄㑆", num), obj7); class4.method_22(BookmarkStart.b("䐲༴䐶䴸䤺吼吾⑀", num), obj8); class4.method_22(BookmarkStart.b("䐲༴匶䨸伺似嘾⩀♂", num), obj9); class4.method_22(BookmarkStart.b("䐲༴堶䰸伺儼嘾⽀♂", num), obj10); class4.method_22(BookmarkStart.b("䐲༴䐶儸娺夼倾㙀", num), obj11); class4.method_22(BookmarkStart.b("䐲༴制吸夺刼䰾㉀", num), obj12); class4.method_22(BookmarkStart.b("䐲༴帶吸䬺似嘾⽀㝂", num), obj13); class4.method_22(BookmarkStart.b("䐲༴夶嘸欺似倾⹀╂", num), obj14); class4.method_22(BookmarkStart.b("䐲༴䐶圸娺䴼款⹀т㝄⹆ⵈ", num), obj15); class4.method_22(BookmarkStart.b("䐲༴䄶堸唺吼䰾⥀", num), obj16); class4.method_22(BookmarkStart.b("䐲༴䀶尸夺甼嘾╀❂⁄⥆", num), obj17); if (flag) { class4.method_33(BookmarkStart.b("䐲༴吶嘸场刼䴾", num), new object[] { BookmarkStart.b("䐲༴䄶堸场", num), obj18, BookmarkStart.b("䐲༴䌶儸帺值娾ɀⱂ⥄⡆㭈", num), obj19, BookmarkStart.b("䐲༴䌶儸帺值娾ቀ⭂⑄⍆ⱈ", num), obj20, BookmarkStart.b("䐲༴䌶儸帺值娾ᕀ⩂⭄㍆", num), obj21 }); } else { class4.method_22(BookmarkStart.b("䐲༴吶嘸场刼䴾", num), obj18); } class4.method_22(BookmarkStart.b("䐲༴䐶䤸娺帼嘾⽀⑂", num), obj22); class4.method_22(BookmarkStart.b("䐲༴䀶", num), obj23); class4.method_22(BookmarkStart.b("䐲༴尶尸䤺匼", num), obj24); class4.method_22(BookmarkStart.b("䐲༴䜶嘸䠺吼䬾⡀ⱂ⭄", num), obj25); class4.method_22(BookmarkStart.b("䐲༴䐶䌸", num), class4.method_23(obj26, 2f)); class4.method_22(flag ? BookmarkStart.b("䐲༴䐶䌸砺丼", num) : BookmarkStart.b("䐲༴䐶䌸ᘺ帼䰾", num), class4.method_23(obj27, 2f)); class4.method_22(BookmarkStart.b("䐲༴弶倸尺唼匾⡀⑂ⵄ㍆", num), obj28); class4.method_33(BookmarkStart.b("䐲༴䈶", num), new object[] { BookmarkStart.b("䐲༴䄶堸场", num), str11, BookmarkStart.b("䐲༴吶嘸场刼䴾", num), str12 }); class4.method_24(BookmarkStart.b("䐲༴制弸崺堼尾㕀", num), str13); class4.method_47(BookmarkStart.b("䐲༴唶崸䤺", num), border, flag); class4.vmethod_4(class2); class4.method_33(BookmarkStart.b("䐲༴儶倸伺椼娾㥀㝂", num), new object[] { BookmarkStart.b("䐲༴䄶堸场", num), str14, BookmarkStart.b("䐲༴帶崸", num), str15 }); class4.method_24(BookmarkStart.b("䐲༴䄶尸䤺䤼績ⵀ⩂≄⥆", num), str16); class4.method_22(BookmarkStart.b("䐲༴䔶䴸场", num), obj29); class4.method_22(BookmarkStart.b("䐲༴吶䨸", num), obj30); class4.method_24(BookmarkStart.b("䐲༴制吸", num), str17); if (!flag) { class4.method_33(BookmarkStart.b("䐲༴弶䀸䬺唼娾⽀", num), new object[] { BookmarkStart.b("䐲༴䄶堸场", num), str18, BookmarkStart.b("䐲༴䔶䰸场堼", num), str19 }); } class4.method_33(BookmarkStart.b("䐲༴嬶堸唺娼", num), new object[] { BookmarkStart.b("䐲༴䄶堸场", num), str20, flag ? BookmarkStart.b("䐲༴制堸䠺䤼績㉀⩂⑄", num) : BookmarkStart.b("䐲༴儶堸䤺堼帾㉀㝂", num), str21, BookmarkStart.b("䐲༴唶倸强吼", num), str22 }); if (class3 != null) { smethod_4(class4, class3, flag); } class4.method_22(BookmarkStart.b("䐲༴䐶䤸帺帼椾⁀ⵂⱄ㑆ⅈ", num), obj31); if (!flag) { class4.method_22(BookmarkStart.b("䐲䴴ശ弸吺匼䬾", num), obj32); class4.method_33(BookmarkStart.b("䐲䴴ശ䨸䈺值", num), new object[] { BookmarkStart.b("䐲䴴ശ弸吺匼䬾", num), obj33, BookmarkStart.b("䐲䴴ശ娸区尼䴾", num), obj34 }); } return(true); }
public abstract void Visit(Class340 c);
public override void Visit(Class340 c) { }
private static bool smethod_0(Class340 class340_0) { return class340_0.method_2(); }