private static void smethod_17(Class581 A_0, CharacterFormat A_1, Class394 A_2, Footnote A_3) { int num = 0x11; if (!A_2.method_9(BookmarkStart.b("䔶", 0x11))) { throw new InvalidOperationException(BookmarkStart.b("戶圸娺弼匾⑀捂ㅄ⡆楈ⵊⅎ㕐獒㍔㡖㙘⽚㍜ぞᕠ٢䕤ᕦ౨൪ᵮᑰᵲᙴቶ奸ᙺᱼൾ궂", num)); } if (((A_2.method_1() == BookmarkStart.b("䌶", num)) && A_2.method_10(BookmarkStart.b("䌶", num), XmlDocumentTextHandling.TextAndSignificant)) && (A_2.method_1() == "")) { A_3.CustomMarker = A_2.method_3(); } else if (A_2.method_1() == BookmarkStart.b("唶䬸", num)) { A_3.CustomMarker = smethod_25(A_2, A_1).ToString(); } else { if (A_2.method_1() != BookmarkStart.b("䐶䀸嘺", num)) { throw new InvalidOperationException(BookmarkStart.b("戶圸䠺䠼伾ㅀⱂ㝄㍆ⱈ⽊浌⥎㹐㱒⅔㥖㙘⽚㡜罞፠٢ͤɦ᭨ͬ౮ᑰ卲ᡴᙶၺ卼", num)); } A_3.CustomMarker = Class742.smethod_2(A_0.imethod_1().method_34(A_1)).ToString(); } }
private static void smethod_8(Class581 A_0, CharacterFormat A_1) { int num = 6; Class394 class2 = A_0.imethod_1(); string str = class2.method_1(); bool flag = (A_0.method_22() || (class2.method_12(BookmarkStart.b("弫席儯儱儳", num), "") == BookmarkStart.b("尫尭唯䄱儳䐵丷弹", num))) || (str != BookmarkStart.b("堫", num)); while (class2.method_10(str, XmlDocumentTextHandling.TextAndSignificant)) { string str2 = class2.method_1(); if (str2 != null) { if (str2 == "") { string str3 = class2.method_3().Replace(Class816.string_4, Class816.string_11); str3.TrimStart(new char[] { '\n' }); str3 = str3.Replace(Class816.string_3, Class816.string_11); if (!flag) { str3 = str3.Trim(char_0).Replace('\t', ' '); } if (smethod_9(str3)) { smethod_14(A_0, A_1, str3[0]); } else if (!smethod_10(str3)) { class2.method_51().Append(str3); } } else if (str2 != BookmarkStart.b("䈫䄭爯䀱儳圵匷爹䔻丽⠿❁⩃", num)) { if (str2 != BookmarkStart.b("丫尭", num)) { if (!(str2 == BookmarkStart.b("尫", num))) { if (!(str2 == BookmarkStart.b("堫䰭尯", num))) { goto Label_01A5; } smethod_12(A_0); } else { smethod_13(A_0); } } else { class2.method_51().Append(Class816.string_6); } } else { class2.method_51().Append(Class816.string_12); } continue; } Label_01A5: smethod_11(A_0, A_1); } }
private static void smethod_6(Class581 A_0, CharacterFormat A_1) { Class394 class2 = A_0.imethod_1(); string str = class2.method_1(); while (class2.method_10(str, XmlDocumentTextHandling.TextAndSignificant)) { string str2 = class2.method_3(); switch (str2) { case null: case string.Empty: return; } Field field = smethod_7(str2, A_0.Interface50.imethod_0()); if (!class2.bool_0 && (class2.method_57() != null)) { int index = -1; if ((class2.method_57() != null) && (class2.method_57().NextSibling == null)) { index = (A_0.method_13() as Paragraph).ChildObjects.IndexOf(class2.method_57()); } if (((class2.method_53() != FieldCharType.Seperate) && (index >= 0)) && (index == ((A_0.method_13() as Paragraph).ChildObjects.Count - 1))) { Field field3 = class2.method_57(); field3.Code = field3.Code + str2; if (class2.method_57().Type == FieldType.FieldUnknown) { Field field2 = class2.method_54().Pop(); (A_0.method_13() as Paragraph).method_20(field2); field2 = smethod_7(field2.Code, A_0.Interface50.imethod_0()); if (A_1 != null) { field2.ApplyCharacterFormat(A_1); } field2.IsLocked = class2.method_55(); class2.method_56(false); A_0.method_9(field2); if (class2.method_57() != field2) { class2.method_54().Push(field2); } } } else { TextRange range = new TextRange(A_0.Interface50.imethod_0()); if (A_1 != null) { range.ApplyCharacterFormat(A_1); } range.Text = str2; A_0.method_9(range); } return; } if (A_1 != null) { field.CharacterFormat.method_73(A_1); } field.IsLocked = class2.method_55(); class2.method_56(false); A_0.method_9(field); class2.method_54().Push(field); } }