internal static void smethod_1(Class857 A_0, ShapeObject A_1, string A_2) { int num = 3; Class396 class2 = A_0.method_11(); while (class2.method_19()) { string str2 = class2.method_1(); if (str2 != null) { if (!(str2 == BookmarkStart.b("䄨太䠬䤮", num))) { if (str2 == BookmarkStart.b("䨨䜪䰬尮䈰Ḳ尴匶", num)) { class2.method_3(); } } else { string str = class2.method_3(); if ((!str.StartsWith(BookmarkStart.b("䄨弪夬弮ର", num)) && !str.StartsWith(BookmarkStart.b("䄨弪夬弮䈰ल", num))) && !str.StartsWith(BookmarkStart.b("伨䈪䄬䨮ର", num))) { if ((A_2 == BookmarkStart.b("䘨䤪䜬䨮到䜲ᠴ堶唸帺", num)) || (A_2 == BookmarkStart.b("䘨䤪䜬䨮到䜲", num))) { byte[] buffer2 = smethod_3(A_0); if (buffer2 != null) { MemoryStream stream = new MemoryStream(buffer2); new Class1132(stream); } else { A_1.ImageData.SourceFullName = Class576.smethod_91(str); } } if (A_2.EndsWith(BookmarkStart.b("䀨䘪䰬䠮吰", num))) { byte[] imageBytes = smethod_3(A_0); if (imageBytes != null) { A_1.ImageData.LoadImage(imageBytes); } } continue; } if ((A_2 == BookmarkStart.b("䘨䤪䜬䨮到䜲ᠴ堶唸帺", num)) || (A_2 == BookmarkStart.b("䘨䤪䜬䨮到䜲", num))) { A_1.OleFormat.SourceFullName = Class576.smethod_91(str); } if (A_2.EndsWith(BookmarkStart.b("䀨䘪䰬䠮吰", num))) { A_1.ImageData.SourceFullName = Class576.smethod_91(str); } } } } }
private static bool smethod_11(Class857 A_0, DocumentObject A_1) { int num = 4; Class396 class2 = A_0.method_11(); if (class2.method_0() != BookmarkStart.b("丩師伭䜯", 4)) { return(false); } string str3 = ""; string str = ""; while (class2.method_19()) { string str2 = class2.method_1(); if (str2 != null) { if (!(str2 == BookmarkStart.b("䈩師䬭嘯", num))) { if (str2 == BookmarkStart.b("帩䴫尭圯圱䀳ᬵ帷䠹崻匽┿潁⩃❅╇⽉", num)) { str = class2.method_3(); } } else { str3 = Class576.smethod_91(class2.method_3()); } } } A_0.method_49(str3); A_0.method_51(str); while (class2.method_9(BookmarkStart.b("䬩", num))) { if (class2.method_1() == BookmarkStart.b("䰩師伭崯圱", num)) { Class746.smethod_0(A_0, A_1, null); } else { class2.vmethod_1(); } } A_0.method_49(null); A_0.method_51(null); return(true); }
internal static void smethod_3(Class857 A_0, Paragraph A_1, Class97 A_2, DocumentObject A_3, CharacterFormat A_4, Style A_5) { int num = 11; Class396 class2 = A_0.method_11(); string str = class2.method_0(); Field field = new Field(A_0.method_9()) { Type = FieldType.FieldHyperlink }; Hyperlink hyperlink = new Hyperlink(field); A_1.method_13(field); string str2 = ""; string str3 = ""; while (class2.method_19()) { string str5 = class2.method_1(); if (str5 != null) { if (!(str5 == BookmarkStart.b("夰䄲倴儶", num))) { if (str5 == BookmarkStart.b("䔰刲䜴倶尸伺ြ夾㍀≂⡄≆摈╊ⱌ≎㑐", num)) { str3 = class2.method_3(); } } else { str2 = Class576.smethod_91(class2.method_3()); } } } if ((str == BookmarkStart.b("䔰嘲䴴䌶", num)) && Class567.smethod_16(str2)) { string.Format(BookmarkStart.b("礰樲攴父欸眺琼焾ੀ捂杄㱆祈㙊潌", num), str2); if (str2.StartsWith(BookmarkStart.b("ሰ", num))) { hyperlink.Type = HyperlinkType.Bookmark; string str4 = str2.Replace(BookmarkStart.b("ሰ", num), string.Empty); hyperlink.BookmarkName = str4; field.m_fieldValue = str4; } else { field.m_fieldValue = BookmarkStart.b("ጰ", num) + str2.Replace(BookmarkStart.b("洰", num), BookmarkStart.b("洰漲", num)) + BookmarkStart.b("ጰ", num); field.Code = string.Format(BookmarkStart.b("礰樲攴父欸眺琼焾ੀ捂㹄睆㑈", num), field.m_fieldValue); } FieldMark mark = new FieldMark(A_0.method_9(), FieldMarkType.FieldSeparator); A_1.method_13(mark); field.Separator = mark; } if (str == BookmarkStart.b("唰䄲吴䀶", num)) { A_0.method_49(str2); A_0.method_51(str3); } Class1099.smethod_8(A_0, A_1, BookmarkStart.b("倰", num), A_2, A_3); if (str == BookmarkStart.b("唰䄲吴䀶", num)) { A_0.method_49(null); A_0.method_51(null); } if ((A_2 != null) && (A_2.method_13() != null)) { A_4.method_73(A_2.method_13()); } FieldMark mark2 = new FieldMark(A_0.method_9(), FieldMarkType.FieldEnd); A_1.method_13(mark2); field.End = mark2; }