internal static void smethod_4(Class43 A_0, string A_1) { int num = 6; if (Class567.smethod_16(A_1)) { string[] strArray = A_1.Replace(BookmarkStart.b("ఫ", num), "").Replace(BookmarkStart.b("伫䌭", num), BookmarkStart.b("伫䌭䰯", num)).Replace(BookmarkStart.b("䄫䌭", num), BookmarkStart.b("䄫䌭䰯", num)).Replace(BookmarkStart.b("䔫䀭", num), BookmarkStart.b("䔫䀭䰯", num)).Replace(BookmarkStart.b("尫娭", num), BookmarkStart.b("尫娭䰯", num)).Replace(BookmarkStart.b("尫䴭", num), BookmarkStart.b("尫䴭䰯", num)).Replace(BookmarkStart.b("尫嘭", num), BookmarkStart.b("尫嘭䰯", num)).Split(char_0); double num2 = (A_0.method_31(0x1021) == null) ? 0.0 : ((double)A_0.method_31(0x1021)); double num4 = (A_0.method_31(0x1022) == null) ? 0.0 : ((double)A_0.method_31(0x1022)); double num5 = (A_0.method_31(4) == null) ? 0.0 : Class969.smethod_68((int)A_0.method_31(4)); for (int i = 0; i < strArray.Length; i++) { string str = strArray[i]; if (Class567.smethod_16(str)) { if (str == BookmarkStart.b("堫尭儯就䜳娵夷丹夻", num)) { num2 += Class576.smethod_41(strArray[++i]); num4 += Class576.smethod_41(strArray[++i]); } else if (str == BookmarkStart.b("師䄭䐯匱䀳匵", num)) { num5 += -(180.0 * Class1041.smethod_12(strArray[++i])) / 3.1415926535897931; } } } A_0.SetAttr(0x1021, num2); A_0.SetAttr(0x1022, num4); A_0.SetAttr(4, Class969.smethod_71(num5)); } }
private static void smethod_3(Class857 A_0) { int num = 3; Class396 class2 = A_0.method_11(); class2.method_18(); string key = ""; string str2 = ""; while (class2.method_19()) { string str5 = class2.method_1(); if (str5 != null) { if (!(str5 == BookmarkStart.b("䜨䨪䀬䨮", num))) { if (str5 == BookmarkStart.b("弨䨪䄬娮吰Ḳ䄴丶䤸帺", num)) { str2 = class2.method_3(); } } else { key = class2.method_3(); if (A_0.method_9().CustomDocumentProperties[key] != null) { return; } } } } DocumentProperty property = A_0.method_9().CustomDocumentProperties.dictionary_0.ContainsKey(key) ? A_0.method_9().CustomDocumentProperties.dictionary_0[key] : null; string str3 = class2.method_21(); string str4 = str2; if (str4 != null) { if (str4 == BookmarkStart.b("䬨䐪䈬䌮吰刲嬴", num)) { Class567.smethod_19(key, BookmarkStart.b("䜨䨪䀬䨮", num)); Class567.smethod_20(Class1041.smethod_28(str3), BookmarkStart.b("弨䨪䄬娮吰", num)); property = (property != null) ? property : A_0.method_9().CustomDocumentProperties.Add(key, str3); return; } if ((str4 == BookmarkStart.b("䴨䨪夬䨮", num)) || (str4 == BookmarkStart.b("崨䈪䀬䨮", num))) { Class567.smethod_19(key, BookmarkStart.b("䜨䨪䀬䨮", num)); Class567.smethod_20(Class1041.smethod_3(str3), BookmarkStart.b("弨䨪䄬娮吰", num)); property = (property != null) ? property : A_0.method_9().CustomDocumentProperties.Add(key, str3); return; } if (str4 == BookmarkStart.b("伨䜪䈬丮䔰", num)) { Class567.smethod_19(key, BookmarkStart.b("䜨䨪䀬䨮", num)); Class567.smethod_20(Class1041.smethod_12(str3), BookmarkStart.b("弨䨪䄬娮吰", num)); property = (property != null) ? property : A_0.method_9().CustomDocumentProperties.Add(key, str3); return; } } Class567.smethod_19(key, BookmarkStart.b("䜨䨪䀬䨮", num)); Class567.smethod_20(str3, BookmarkStart.b("弨䨪䄬娮吰", num)); property = (property != null) ? property : A_0.method_9().CustomDocumentProperties.Add(key, str3); }
private static int smethod_2(string A_0) { int num = 0x12; A_0 = A_0.ToUpper(); int index = A_0.IndexOf(BookmarkStart.b("样渹", 0x12)); if (index != -1) { A_0 = A_0.Substring(index + 2); int num5 = A_0.IndexOf(BookmarkStart.b("瀷", num)); int num4 = A_0.IndexOf(BookmarkStart.b("男", num)); int num6 = A_0.IndexOf(BookmarkStart.b("欷", num)); string[] strArray2 = A_0.Split(char_0); ArrayList list = new ArrayList(); foreach (string str in strArray2) { if (Class567.smethod_16(str)) { list.Add(str); } } if (list.Count == 0) { return(0); } if (list.Count == 1) { if (num6 != -1) { return((int)(Class1041.smethod_12(strArray2[0]) / 60.0)); } if (num4 != -1) { return((int)Class1041.smethod_12(strArray2[0])); } if (num5 != -1) { return((int)(Class1041.smethod_12(strArray2[0]) * 60.0)); } } if (list.Count == 2) { if ((num6 != -1) && (num4 != -1)) { return((int)(Class1041.smethod_12(strArray2[0]) + (Class1041.smethod_12(strArray2[1]) / 60.0))); } if ((num6 != -1) && (num5 != -1)) { return((int)((Class1041.smethod_12(strArray2[0]) * 60.0) + (Class1041.smethod_12(strArray2[1]) / 60.0))); } if ((num4 != -1) && (num5 != -1)) { return((int)((Class1041.smethod_12(strArray2[0]) * 60.0) + Class1041.smethod_12(strArray2[1]))); } } if (list.Count == 3) { return((int)(((Class1041.smethod_12(strArray2[0]) * 60.0) + Class1041.smethod_12(strArray2[1])) + (Class1041.smethod_12(strArray2[2]) / 60.0))); } } return(0); }
internal static ShapeObject smethod_1(Interface50 A_0) { int num = 13; string str = ""; string str2 = ""; string str3 = ""; string str4 = ""; string str5 = ""; string str6 = ""; Class394 class2 = A_0.imethod_1(); while (class2.method_19()) { string str7 = class2.method_3(); string key = class2.method_1(); if (key != null) { int num2; if (Class1160.dictionary_11 == null) { Dictionary <string, int> dictionary1 = new Dictionary <string, int>(10); 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); Class1160.dictionary_11 = dictionary1; } if (Class1160.dictionary_11.TryGetValue(key, out num2)) { switch (num2) { case 0: str = str7; break; case 2: str2 = str7; break; case 3: str6 = str7; break; case 4: str3 = str7; break; case 6: str4 = str7; break; case 7: str5 = str7; break; } } } } ShapeObject obj2 = (ShapeObject)A_0.imethod_8(str3); if (obj2 == null) { obj2 = new ShapeObject(A_0.imethod_0()); obj2.SetShapeType(ShapeType.OleControl); obj2.TextWrappingStyle = TextWrappingStyle.Inline; } if (!string.IsNullOrEmpty(str4)) { obj2.method_37(Class509.smethod_2(Class1041.smethod_12(str4))); } if (!string.IsNullOrEmpty(str5)) { obj2.method_39(Class509.smethod_2(Class1041.smethod_12(str5))); } Class1132 class3 = null; if (str.StartsWith(BookmarkStart.b("眲琴挶砸ĺ尼伾ㅀ⽂ⱄ⑆⡈㽊⁎㽐籒ⵔ穖㙘㝚㡜ぞ͠ॢdѦᵨ偪⽬≰㙲䍴䍶啸", num))) { byte[] buffer2 = Convert.FromBase64String(str.Substring(BookmarkStart.b("眲琴挶砸ĺ尼伾ㅀ⽂ⱄ⑆⡈㽊⁎㽐籒ⵔ穖㙘㝚㡜ぞ͠ॢdѦᵨ偪⽬≰㙲䍴䍶啸", num).Length)); if (str6.StartsWith(BookmarkStart.b("瀲礴搶瀸缺ܼ", num))) { str6 = str6.Substring(BookmarkStart.b("瀲礴搶瀸缺ܼ", num).Length); } Guid guid = !string.IsNullOrEmpty(str6) ? new Guid(str6) : Guid.Empty; class3 = new Class1132(new Class1089(guid)); class3.method_0().method_2(BookmarkStart.b("〲稴琶愸缺簼款@", num), new MemoryStream(buffer2)); } else { byte[] buffer = A_0.imethod_3(str); if (buffer != null) { class3 = new Class1132(new MemoryStream(buffer)); } } if (class3 != null) { Class627.smethod_6(class3.method_0(), new Class221(str2)); Class627.smethod_6(class3.method_0(), new Class320(OdtPersist1.Ocx | OdtPersist1.RecomposeOnResize, OdtPersist2.QueriedEmf, OdtClipboardFormat.Metafile)); } return(obj2); }
internal static void smethod_1(Class582 A_0) { int num = 4; CustomDocumentProperties customDocumentProperties = A_0.Interface50.imethod_0().CustomDocumentProperties; Class394 class2 = A_0.imethod_1(); while (class2.method_9(BookmarkStart.b("椩夫崭䐯崱夳爵圷夹䤻匽┿ⱁぃᙅ㩇╉㱋⭍≏♑㵓㍕⭗", num))) { string name = smethod_2(class2.method_1()); string str5 = null; string str6 = null; while (class2.method_19()) { string str3 = class2.method_1(); if (str3 != null) { if (!(str3 == BookmarkStart.b("丩堫", num))) { if (str3 == BookmarkStart.b("䘩䔫䀭嬯", num)) { str5 = class2.method_3(); } } else { str6 = class2.method_3(); } } } string str4 = class2.method_21(); string str = str6; if (str != null) { if (str != BookmarkStart.b("天堫尭夯就匳", num)) { if (str != BookmarkStart.b("䰩䀫䄭儯䘱", num)) { if (str != BookmarkStart.b("䠩䌫䄭尯圱唳堵", num)) { if ((str == BookmarkStart.b("丩䴫娭唯昱崳嬵崷", num)) || (str == BookmarkStart.b("丩䴫娭唯昱崳嬵崷ᐹ䠻䐽", num))) { customDocumentProperties.Add(name, Class1041.smethod_3(str4)); } } else { customDocumentProperties.Add(name, class2.method_70(str4)); } } else { double num2 = Class1041.smethod_12(str4); if (((int)num2) == num2) { customDocumentProperties.Add(name, (int)num2); } else { customDocumentProperties.Add(name, num2); } } } else { DocumentProperty property = customDocumentProperties.Add(name, str4); if (Class567.smethod_16(str5)) { property.LinkSource = str5; } } } } }
private void method_4(string A_0, string A_1) { int num = 3; if ((this.class422_0.method_14().method_13() && Class567.smethod_16(A_1)) && A_1.EndsWith(BookmarkStart.b("న", num))) { this.class400_0.method_40(A_0, string.Format(BookmarkStart.b("刨ᬪ倬䰮尰", num), Class1041.smethod_44(Class1041.smethod_12(A_1.Replace(BookmarkStart.b("న", num), "")) / 10000.0))); } else { this.class400_0.method_40(A_0, A_1); } }
internal static int smethod_25(string A_0) { return(Class1133.smethod_5(Class1041.smethod_12(A_0) * 16777216.0)); }
private static int smethod_10(string A_0, bool A_1) { double num = Class1041.smethod_12(A_0) * (A_1 ? 2.55 : 1.0); return(Class1133.smethod_5(Class1133.smethod_2(num, 0.0, 255.0))); }