internal void method_0(Class1089 A_0, BuiltinDocumentProperties A_1, CustomDocumentProperties A_2) { this.builtinDocumentProperties_0 = A_1; this.customDocumentProperties_0 = A_2; this.method_1(A_0); this.method_2(A_0); }
internal static Class1089 smethod_4(CustomXmlPartCollection A_0) { int num = 7; if (A_0.Count == 0) { return(null); } Class1089 class4 = new Class1089(); for (int i = 0; i < A_0.Count; i++) { CustomXmlPart part = A_0[i]; Class1089 class3 = new Class1089(); class3.method_2(BookmarkStart.b("搬嬮吰帲", num), new MemoryStream(part.Data)); Stream stream = new MemoryStream(); Class397 class2 = new Class397(stream, Encoding.UTF8, false); if (class2.method_0().method_1().Count == 0) { class2.method_0().method_1().Add(BookmarkStart.b("䤬尮", num), BookmarkStart.b("䔬嬮䔰䌲༴ᠶᘸ䠺帼圾⑀⹂⑄㑆杈⑊㵌⩎㽐⭒㡔㭖㽘㑚⽜㉞`ᝢᙤ䥦٨ᥪ੬䁮Ṱᕲ፴Ṷ᩸Ṻ㥼ၾハꊌ붎ꆐꎒꎔ뢖滛캠캢ﶤ쪦얨", num)); } smethod_5(part, class2); class3.Add(BookmarkStart.b("紬崮帰䌲倴䔶䴸刺堼䰾", num), stream); class4.method_3(string.Format(BookmarkStart.b("丬圮唰䀲临ܶ䐸", num), i), class3); } return(class4); }
internal static void smethod_0(Class1132 A_0, CustomXmlPartCollection A_1) { int num = 5; Class1089 class2 = A_0.method_0().method_6(BookmarkStart.b("昪帬䀮田刲䄴嘶樸伺刼䴾⑀", 5)); if (class2 != null) { foreach (DictionaryEntry entry in class2) { CustomXmlPart part = new CustomXmlPart(); Class1089 class3 = (Class1089)entry.Value; foreach (DictionaryEntry entry2 in class3) { string key = (string)entry2.Key; if (key != null) { if (!(key == BookmarkStart.b("截夬䨮尰", num))) { if (key == BookmarkStart.b("笪弬䀮䄰嘲䜴䌶倸帺丼", num)) { smethod_1((Stream)entry2.Value, part); } } else { part.Data = Class567.smethod_10((Stream)entry2.Value); } } } A_1.Add(part); } } }
internal Class454 method_41(int A_0) { Class454 class3; Class1089 class2 = base.method_0().method_0().method_6(BookmarkStart.b("挫䰭娯圱圳䈵样唹医刽", 6)); if (class2 == null) { return(null); } using (IDictionaryEnumerator enumerator = class2.GetEnumerator()) { DictionaryEntry current; while (enumerator.MoveNext()) { current = (DictionaryEntry)enumerator.Current; string key = (string)current.Key; int num = Class1041.smethod_18(key.TrimStart(new char[] { '_' })); if ((num != -2147483648) && (A_0 == num)) { goto Label_0081; } } return(null); Label_0081: class3 = new Class454(A_0, (Class1089)current.Value); } return(class3); }
internal static void smethod_6(Class1089 A_0, Interface24 A_1) { MemoryStream output = new MemoryStream(); A_1.imethod_0(new BinaryWriter(output)); A_0[A_1.imethod_1()] = output; }
internal Class259(Class1132 A_0) { this.class1132_0 = A_0; this.class1089_0 = A_0.method_0().method_7(BookmarkStart.b("椬丮䔰刲昴䜶堸堺堼䰾", 5)); this.method_4(); this.method_5(); }
private void method_1(Class1089 A_0) { int num = 2; Stream stream = A_0.method_4(BookmarkStart.b("ⴧ礩夫䌭崯匱䘳伵焷吹娻儽㈿⽁╃㉅ⅇ╉≋", 2)); if (stream != null) { Class1046 class3 = new Class1046(stream); if (class3.method_0().Count != 0) { Class566 class4 = ((Class520)class3.method_0()[0]).method_0(); for (int i = 0; i < class4.method_2(); i++) { Class521 class2 = class4.method_0(i); switch (class2.int_0) { case 2: case 3: case 4: case 5: case 6: case 7: case 8: case 0x12: this.method_4(smethod_0(class2.int_0), class2.object_0, PropertyValueType.String); break; case 9: if (class2.object_0 is string) { this.method_4(BookmarkStart.b("稧伩娫䜭䌯嬱嬳堵瘷伹儻尽┿ぁ", num), class2.object_0, PropertyValueType.String); } break; case 10: if (class2.object_0 is DateTime) { this.method_4(BookmarkStart.b("簧䔩堫伭尯眱倳張䰷匹刻夽ᐿ⭁⥃⍅", num), TimeSpan.FromMinutes((double)smethod_4((DateTime)class2.object_0)), PropertyValueType.Other); } break; case 11: case 12: case 13: this.method_4(smethod_0(class2.int_0), class2.object_0, PropertyValueType.Date); break; case 14: case 15: case 0x10: case 0x13: this.method_4(smethod_0(class2.int_0), class2.object_0, PropertyValueType.Int); break; } } } } }
public Class1089 method_7(string A_0) { int num = 0x11; Class1089 class2 = this.method_6(A_0); if (class2 == null) { throw new InvalidOperationException(string.Format(BookmarkStart.b("琶堸唺匼倾㕀捂⍄⹆❈⽊浌㱎═㱒❔㙖㹘㹚絜硞᩠卢ᡤ䁦䝨", num), A_0)); } return(class2); }
private static void smethod_1(Class1132 A_0, DigitalSignatures A_1) { Class1089 class2 = A_0.method_0().method_6(BookmarkStart.b("氲䴴娶唸䠺吼堾⽀≂ㅄ㉆㭈⹊㹌", 13)); if (class2 != null) { foreach (string str in class2.GetKeyList()) { Class556.smethod_0(class2.method_4(str), new Class867(A_0), A_1); } } }
private void method_6(Stream A_0, string A_1) { int num = 7; MemoryStream stream = null; Class1089 class2 = null; if (A_1.StartsWith(BookmarkStart.b("栬圮到嘲头ᤶ樸区堼娾㕀浂組", 7))) { Stream stream2 = this.class1089_0[BookmarkStart.b("稬䀮䌰堲圴堶嘸债", num)] as MemoryStream; Class627.smethod_9(stream2); } else if (A_1.StartsWith(BookmarkStart.b("栬圮到嘲头ᤶ樸区堼娾㕀浂瑄畆", num))) { stream = new MemoryStream(); Class627.smethod_8(this.class1089_0[BookmarkStart.b("紬丮到堲吴倶尸", num)] as MemoryStream, stream); } else if (!A_1.StartsWith(BookmarkStart.b("稬䀮䌰圲᬴猶嘸堺䠼刾⑀ⵂㅄ楆硈祊", num)) && !A_1.StartsWith(BookmarkStart.b("紬䀮䘰嘲䜴朶嘸刺匼䬾潀၂ⵄ⡆㹈敊籌絎", num))) { if ((!A_1.StartsWith(BookmarkStart.b("栬圮到嘲头ᤶ瘸䬺堼儾Հⱂ♄㉆⑈⹊⍌㭎ɐ⍒❔㉖㡘㽚⹜㝞Ѡ٢ᅤ", num)) && !A_1.StartsWith(BookmarkStart.b("稬䀮䌰圲᬴砶䤸帺匼笾⹀⁂い⩆ⱈ╊㥌㑐⭒⅔", num))) && !A_1.StartsWith(BookmarkStart.b("紬䀮䘰嘲䜴朶嘸刺匼䬾潀ూ㕄≆❈ཊ≌ⱎ㹒ご㥖ⵘ⽜㩞በ٢፦ࡨὪѬnὰ", num))) { if (A_1.StartsWith(BookmarkStart.b("戬娮䔰弲娴堶券ᔺ笼嘾ⵀ♂ф㍆㵈⩊⹌❎", num))) { stream = this.class1089_0[BookmarkStart.b("氬嬮䔰刲嘴弶稸吺匼䬾⑀ⵂㅄ㑆", num)] as MemoryStream; } else if (A_1.StartsWith(BookmarkStart.b("氬䰮䌰尲瀴伶娸区ጼ笾⹀⁂い⩆ⱈ╊㥌", num))) { stream = this.class1089_0[BookmarkStart.b("測怮缰朲瀴礶洸栺", num)] as MemoryStream; } else if (A_1.StartsWith(BookmarkStart.b("怬丮堰弲破䐶常稺䤼䬾", num)) || A_1.StartsWith(BookmarkStart.b("戬娮䔰弲娴堶券ᔺ瀼䰾♀ɂㅄ㍆⡈⡊╌", num))) { class2 = this.class1089_0[BookmarkStart.b("怬渮愰稲破制䨸䠺尼堾⑀", num)] as Class1089; } } else { stream = this.class1089_0[BookmarkStart.b("栬䈮匰嘲儴匶尸强爼嬾❀", num)] as MemoryStream; } } else { stream = this.class1089_0[BookmarkStart.b("紬丮到堲吴倶尸", num)] as MemoryStream; } if (stream != null) { stream.Position = 0L; Class567.smethod_8(stream, A_0); } else { smethod_0(A_0, (class2 != null) ? class2 : this.class1089_0); } }
public Stream imethod_0(Class731 A_0) { string str = A_0.method_2().Substring(1); Class1089 class2 = this.class1132_0.method_0(); while (str.IndexOf('/') > 0) { int index = str.IndexOf('/'); class2 = class2.method_6(str.Substring(0, index)); str = str.Substring(index + 1); } return(class2.method_5(str)); }
private static MemoryStream smethod_0(Class1089 A_0) { Class1132 class2 = new Class1132(A_0); MemoryStream stream = new MemoryStream(); class2.method_5(stream); stream.Position = 0L; MemoryStream stream2 = new MemoryStream(); Class567.smethod_1((uint)stream.Length, stream2); Class1156.smethod_4(stream, stream2, CompressionMethod.Stored); return(stream2); }
private void method_13(Class1090 A_0, Class1089 A_1) { int num = 10; if (!A_0.bool_0) { A_0.bool_0 = true; switch (A_0.dirEntryType_0) { case DirEntryType.Invalid: return; case DirEntryType.Storage: case DirEntryType.Root: { Class1089 class2 = new Class1089(A_0.guid_0); if ((A_0.dirEntryType_0 != DirEntryType.Root) || (this.class1089_0 != null)) { A_1.method_3(A_0.string_0, class2); } else { this.class1089_0 = class2; } Class1090 class3 = this.class410_0.method_6(A_0, A_0.uint_1); if (class3 != null) { this.method_13(class3, class2); } break; } case DirEntryType.Stream: A_1.method_2(A_0.string_0, this.method_10(A_0.uint_4, (int)A_0.long_2, (int)A_0.long_2, false)); break; default: throw new InvalidOperationException(BookmarkStart.b("支就弳堵圷䴹刻ḽ㐿㭁㑃⍅桇╉⩋湍㑏㭑♓㍕㭗⹙㍛ⱝᥟ䉡ţࡥᱧᡩᕫ乭ᱱ味ɵၷό屻ൽﲇノﺋ늑ﶛ劣얟財", num)); } Class1090 class5 = this.class410_0.method_6(A_0, A_0.uint_2); if (class5 != null) { this.method_13(class5, A_1); } Class1090 class4 = this.class410_0.method_6(A_0, A_0.uint_3); if (class4 != null) { this.method_13(class4, A_1); } } }
internal Class320(Class1089 A_0) { MemoryStream input = A_0.method_4(BookmarkStart.b("␦昨䤪䜬昮弰唲娴", 1)); if (input != null) { BinaryReader reader = new BinaryReader(input); this.odtPersist1_0 = (OdtPersist1)reader.ReadUInt16(); this.odtClipboardFormat_0 = (OdtClipboardFormat)reader.ReadUInt16(); if (Class567.smethod_46(reader, 2)) { this.odtPersist2_0 = ((OdtPersist2)reader.ReadUInt16()) & (OdtPersist2.StoredAsEmf | OdtPersist2.QueriedEmf | OdtPersist2.Reserved1 | OdtPersist2.Emf); } } }
private void method_7() { Class1132 class2 = new Class1132(Guid.Empty); foreach (KeyValuePair <string, DocOleObject> pair in this.class928_0.document_0.DocOleObjects) { string key = pair.Key; DocOleObject obj2 = pair.Value; Class1089 class3 = Class627.smethod_1(Class627.smethod_7(obj2.Interface49.get_ObjectType()), obj2.Interface49.get_ObjectType(), obj2, obj2.Interface49.get_DisplayAsIcon()); class2.method_0().method_2(key, smethod_0(class3)); } if (class2.method_0().Count > 0) { this.memoryStream_0 = new MemoryStream(); class2.method_5(this.memoryStream_0); } }
private static void smethod_1(Class363 A_0, DigitalSignatures A_1) { MemoryStream stream = A_0.method_46(BookmarkStart.b("栶䄸嘺儼䰾⡀⑂⭄♆㵈㹊㽌⩎≐", 0x11)); if (stream != null) { Class1132 class3 = new Class1132(stream); Class1089 class2 = class3.method_0(); if (class2 != null) { foreach (string str in class2.GetKeyList()) { Class556.smethod_0(class2.method_4(str), new Class625(class3), A_1); } } } }
private void method_0(Class1089 A_0) { int num = 4; this.method_1(A_0.method_0().ToByteArray()); SortedList list = new SortedList(new Class595()); SortedList list2 = new SortedList(new Class595()); foreach (DictionaryEntry entry in A_0) { string key = entry.Key.ToString(); object obj2 = entry.Value; if (entry.Value is Stream) { if ((key != BookmarkStart.b("甩弫䜭圯就唳䈵䴷䠹夻䴽", num)) && (key != BookmarkStart.b("〈栫簭累焱嬳堵䰷弹刻䨽", num))) { list.Add(key, obj2); } } else { if (!(entry.Value is Class1089)) { throw new InvalidOperationException(BookmarkStart.b("缩䈫䔭帯崱䌳堵ᠷ唹帻吽┿⅁ぃ桅", num)); } if ((key != BookmarkStart.b("Ⱙ栫伭䐯匱朳䘵夷夹夻䴽", num)) && (key != BookmarkStart.b("⼩渫伭圯匱唳䜵䄷࠹༻唽㔿♁♃⹅⭇≉ോ⽍⅏村⅓摕㭗㉙ቛ㩝", num))) { list2.Add(key, obj2); } } } foreach (DictionaryEntry entry3 in list) { this.method_3((string)entry3.Key); MemoryStream stream = (MemoryStream)entry3.Value; this.method_2(stream.GetBuffer(), (int)stream.Length); } foreach (DictionaryEntry entry2 in list2) { this.method_3((string)entry2.Key); this.method_0((Class1089)entry2.Value); } }
private static void smethod_0(Class1132 A_0) { Class1089 class2 = new Class1089(); class2.method_2(BookmarkStart.b("缫娭䈯崱娳儵紷吹弻䰽㤿㉁ぃ⽅❇⑉ࡋ⽍㍑ݓ♕㥗㥙㥛", 6), new MemoryStream(byte_2)); Class1089 class3 = new Class1089(); class3.method_2(BookmarkStart.b("⨫縭䈯嬱夳圵䨷䌹", 6), new MemoryStream(byte_3)); Class1089 class4 = new Class1089(); class4.method_3(BookmarkStart.b("缫娭䈯崱娳儵紷吹弻䰽㤿㉁ぃ⽅❇⑉ᡋ㱍ㅏ㱑❓さ㝗⡙ㅛ", 6), class3); Class1089 class5 = new Class1089(); class5.method_3(BookmarkStart.b("栫伭䐯匱朳䘵夷夹夻眽⸿⑁⭃", 6), class2); class5.method_2(BookmarkStart.b("栫伭䐯匱朳䘵夷夹夻猽ℿ㉁", 6), new MemoryStream(byte_1)); class5.method_2(BookmarkStart.b("稫䬭䈯䄱崳夵嘷", 6), new MemoryStream(byte_0)); class5.method_3(BookmarkStart.b("砫尭儯就䜳倵圷䠹儻眽⸿⑁⭃", 6), class4); A_0.method_0().method_3(BookmarkStart.b("⨫樭儯䘱唳攵䠷嬹弻嬽㌿", 6), class5); }
private void method_0(Class1089 A_0) { int num = 3; this.method_1(A_0.method_0().ToByteArray()); SortedList list = new SortedList(new Class322()); SortedList list2 = new SortedList(new Class322()); foreach (DictionaryEntry entry in A_0) { string key = entry.Key.ToString(); object obj2 = entry.Value; if (entry.Value is Stream) { if ((key != BookmarkStart.b("瘨堪䐬䠮弰刲䄴䈶䬸帺丼", num)) && (key != BookmarkStart.b("\u2028漪缬戮爰尲嬴䌶尸唺䤼", num))) { list.Add(key, obj2); } } else { if (!(entry.Value is Class1089)) { throw new InvalidOperationException(BookmarkStart.b("簨䔪䘬䄮帰䐲嬴᜶嘸夺圼娾≀㝂敄⹆❈歊⁌⩎㱐㱒❔⹖祘⡚⥜ぞ፠ɢɤɦ䝨", num)); } if ((key != BookmarkStart.b("⼨漪䰬嬮倰怲䔴嘶娸帺丼", num)) && (key != BookmarkStart.b("Ⱘ椪䰬䠮倰刲䐴丶ସ࠺嘼䨾╀⅂ⵄ⑆ⅈⱌ㹎摐♒杔㑖ㅘᕚ㥜", num))) { list2.Add(key, obj2); } } } foreach (DictionaryEntry entry3 in list) { this.method_3((string)entry3.Key); MemoryStream stream = (MemoryStream)entry3.Value; this.method_2(stream.GetBuffer(), (int)stream.Length); } foreach (DictionaryEntry entry2 in list2) { this.method_3((string)entry2.Key); this.method_0((Class1089)entry2.Value); } }
private void method_6(Class1089 A_0, Class1090 A_1) { int num = 0x13; if (A_1 == null) { A_1 = new Class1090(BookmarkStart.b("欸吺刼䬾慀ق⭄㍆㭈㉊", num), true, A_0.method_0()); this.class410_0.method_3(A_1); } if (A_0.Count > 0) { A_1.uint_1 = (uint)this.class410_0.method_2(); } for (int i = 0; i < A_0.Count; i++) { Class1090 class2; string key = (string)A_0.GetKey(i); object byIndex = A_0.GetByIndex(i); if (byIndex is Class1089) { Class1089 class3 = (Class1089)byIndex; class2 = new Class1090(key, false, class3.method_0()); this.class410_0.method_3(class2); this.method_6(class3, class2); } else { if (!(byIndex is Stream)) { throw new InvalidOperationException(BookmarkStart.b("永唺嘼儾⹀㑂⭄杆♈⥊❌⩎㉐❒畔㹖㝘筚ぜ㩞ౠౢᝤṦ䥨ᡪᥬnͰቲቴቶ坸", num)); } Stream stream = (Stream)byIndex; class2 = new Class1090(key, DirEntryType.Stream, stream.Length); this.class410_0.method_3(class2); class2.uint_4 = this.method_8(stream, false); } if (i < (A_0.Count - 1)) { class2.uint_3 = (uint)this.class410_0.method_2(); } } }
internal Class221(Class1089 A_0) { MemoryStream input = A_0.method_4(BookmarkStart.b("㜳礵笷戹爻缽ി݁", 14)); if (input != null) { BinaryReader reader = new BinaryReader(input, Encoding.Unicode); StringBuilder builder = new StringBuilder(); while (Class567.smethod_46(reader, 2)) { char ch = reader.ReadChar(); if (ch == '\0') { break; } builder.Append(ch); } this.string_0 = builder.ToString(); } }
internal static Class1089 smethod_1(Guid A_0, string A_1, DocOleObject A_2, bool A_3) { int num = 13; Class1089 class2 = new Class1089(A_0); if ((A_2.OleObjectType != OleObjectType.BitmapImage) && (A_2.OleObjectType != OleObjectType.WordPicture)) { if (A_2.Interface49.get_NativeData() != null) { class2.method_2(BookmarkStart.b("挲吴吶券娺娼娾", num), new MemoryStream(A_2.Interface49.get_NativeData())); } } else { class2.method_2(BookmarkStart.b("挲吴吶券娺娼娾", num), new MemoryStream(A_2.Interface49.get_OlePicture().ImageBytes)); } smethod_6(class2, new Class320(A_3 ? OdtPersist1.Icon : OdtPersist1.None, OdtPersist2.Emf, OdtClipboardFormat.Metafile)); smethod_6(class2, new Class553(A_1)); return(class2); }
private void method_2(Class1089 A_0) { Stream stream = A_0.method_4(BookmarkStart.b("㘲焴堶娸为值娾⽀㝂ᙄ㉆⑈♊ⱌ㵎⡐ᩒ㭔ㅖ㙘⥚ぜ㹞ᕠ०", 13)); if (stream != null) { Class1046 class3 = new Class1046(stream); foreach (Class520 class2 in class3.method_0()) { if (class2.method_1().Equals(Class520.guid_1)) { this.method_3(class2.method_0()); } else { this.method_5(class2.method_0()); } } } }
internal Class553(Class1089 A_0) { MemoryStream input = A_0.method_4(BookmarkStart.b("〰瀲娴娶䤸琺弼唾", 11)); if (input != null) { BinaryReader reader = new BinaryReader(input); this.int_1 = reader.ReadInt32(); this.int_2 = reader.ReadInt32(); this.byte_0 = reader.ReadBytes(4); this.guid_0 = new Guid(reader.ReadBytes(0x10)); this.string_3 = Class627.smethod_2(reader); this.class451_1 = new Class451(reader, false); this.string_0 = Class627.smethod_2(reader); if (Class567.smethod_46(reader, 4) && (reader.ReadInt32() == 0x71b239f4)) { this.string_1 = Class1029.smethod_6(reader); this.class451_0 = new Class451(reader, true); this.string_2 = Class1029.smethod_6(reader); } } }
internal Class594(Class1089 A_0) { this.method_0(A_0); this.md5_0.FinalUpdate(); }
public void method_3(string A_0, Class1089 A_1) { base.Add(A_0, A_1); }
public Class1132(Class1089 A_0) { this.class1089_0 = A_0; }
private void method_15(ShapeObject A_0) { FieldType fieldOCX; string str; int num = 0x10; ShapeType shapeType = A_0.ShapeType; if (shapeType != ShapeType.OleObject) { if (shapeType != ShapeType.OleControl) { throw new InvalidOperationException(BookmarkStart.b("挵嘷弹䐻丽┿⅁ぃ⍅ⱇ橉㽋♍ㅏ≑ㅓ癕ⱗ⍙ⱛ㭝也", num)); } fieldOCX = FieldType.FieldOCX; str = Class169.smethod_0(A_0.OleFormat.Interface49.get_ObjectType()); } else if (A_0.OleFormat.IsLink) { Class677 class5; fieldOCX = FieldType.FieldLink; if (!A_0.IsOleControl && !A_0.IsOleObject) { class5 = null; } else { class5 = new Class677(A_0); } char ch = '\v'; str = Class655.smethod_0(class5).Replace(BookmarkStart.b("ጵਹ", num), BookmarkStart.b("ᘵ", num)).Replace(BookmarkStart.b("ጵ༹", num), BookmarkStart.b("ጵ", num)).Replace(ch.ToString(), string.Empty).Replace(BookmarkStart.b("ਵ", num), BookmarkStart.b("ጵଷ夹", num)).Replace(BookmarkStart.b("࠵", num), BookmarkStart.b("ጵଷ弹", num)); } else { fieldOCX = FieldType.FieldEmbed; str = Class1061.smethod_0(A_0.OleFormat.Interface49.get_ObjectType()); } this.class423_0.method_39(fieldOCX, A_0.CharacterFormat); this.class423_0.method_37(str, A_0.CharacterFormat); this.class423_0.stack_1.Push(new Field(A_0.Document, fieldOCX, str)); if (A_0.OleFormat.Interface49.get_Container() == null) { this.class423_0.method_46(A_0.CharacterFormat, 0); this.method_16(A_0); goto Label_02FE; } if (A_0.OleFormat.IsChangeNativeData) { A_0.OleFormat.method_103(); } Class1132 class2 = new Class1132(A_0.OleFormat.Interface49.get_Container()); Class454 class3 = null; if (class2.method_0().ContainsKey(BookmarkStart.b("椵", num) + A_0.OleFormat.Interface49.get_OleStorageName())) { Class1089 class4 = class2.method_0()[BookmarkStart.b("椵", num) + A_0.OleFormat.Interface49.get_OleStorageName()] as Class1089; class3 = new Class454(Convert.ToInt32(A_0.OleFormat.Interface49.get_OleStorageName()), class4); this.class423_0.method_46(A_0.CharacterFormat, class3.method_0()); this.class423_0.method_62().class1089_0[class3.method_2()] = class3.method_12(); switch (A_0.OleObjectType) { case ShapeOleObjectType.Embedded: this.class423_0.method_62().class1089_1[class3.method_2()] = class3.method_12(); goto Label_02A7; case ShapeOleObjectType.Linked: goto Label_02A7; case ShapeOleObjectType.Control: this.class423_0.method_62().bool_2 = true; goto Label_02A7; } throw new InvalidOperationException(BookmarkStart.b("挵嘷弹䐻丽┿⅁ぃ⍅ⱇ橉͋ɍᕏ牑㭓㑕㉗㽙㽛⩝䁟ᙡᵣᙥ൧䑩", num)); } Label_02A7: A_0.OleFormat.Interface49.get_Container().Position = 0L; if (((class3 != null) && class3.method_11()) && (class3.method_7() != null)) { this.method_17(class3); } else { this.method_16(A_0); } Label_02FE: this.class423_0.method_40(new FieldMark(A_0.Document, A_0.CharacterFormat, FieldMarkType.FieldEnd)); }
internal void method_81(Class1089 A_0) { Class1132 class2 = new Class1132(A_0); MemoryStream stream = new MemoryStream(); class2.method_5(stream); byte[] buffer = new byte[stream.Length]; stream.Position = 0L; stream.Read(buffer, 0, buffer.Length); this.class1116_0 = new Class1116(buffer, BookmarkStart.b("礥", 0) + this.Interface49.get_OleStorageName()); Class1089 class3 = new Class1089(); class3.method_3(BookmarkStart.b("礥", 0) + this.Interface49.get_OleStorageName(), A_0); class2 = new Class1132(class3); MemoryStream stream2 = new MemoryStream(); class2.method_5(stream2); this.stream_0 = stream2; this.stream_0.Position = 0L; if (A_0.Contains(string_12)) { MemoryStream stream3 = A_0.method_4(string_12); stream3.Position = 0L; byte[] buffer2 = new byte[stream3.Length]; stream3.Read(buffer2, 0, buffer2.Length); using (MemoryStream stream4 = new MemoryStream(buffer2)) { byte[] buffer4 = new byte[6]; stream4.Read(buffer4, 0, buffer4.Length); this.Interface49.set_DisplayAsIcon((buffer4[0] & 0x40) == 0x40); stream4.Flush(); } } if (A_0.Contains(string_9)) { Stream stream5 = A_0.method_4(string_9); stream5.Position = 0L; byte[] buffer3 = new byte[stream5.Length]; stream5.Read(buffer3, 0, buffer3.Length); using (BinaryReader reader = new BinaryReader(new MemoryStream(buffer3))) { reader.ReadInt32(); reader.ReadInt32(); reader.ReadBytes(4); new Guid(reader.ReadBytes(0x10)); Class627.smethod_2(reader); new Class451(reader, false); string str = Class627.smethod_2(reader); if (!string.IsNullOrEmpty(str) && (str.Length > 0)) { this.Interface49.set_ObjectType(str); } if (((reader.BaseStream.Length - reader.BaseStream.Position) >= 4L) && (reader.ReadInt32() == 0x71b239f4)) { this.method_82(reader); new Class451(reader, true); this.method_82(reader); } } } }
internal void method_6(BuiltinDocumentProperties A_0, CustomDocumentProperties A_1, Class1089 A_2) { int num = 0; this.builtinDocumentProperties_0 = A_0; this.customDocumentProperties_0 = A_1; Class1046 class2 = new Class1046(); this.class520_0 = new Class520(Class520.guid_0, 0x4b0); class2.method_0().Add(this.class520_0); Class1046 class3 = new Class1046(); this.class520_1 = new Class520(Class520.guid_1, 0x4b0); class3.method_0().Add(this.class520_1); this.class520_2 = new Class520(Class520.guid_2, 0x4b0); class3.method_0().Add(this.class520_2); this.int_2 = 2; this.method_7(); this.method_13(); if (this.class520_2.method_0().method_2() == 0) { class3.method_0().Remove(this.class520_2); } MemoryStream stream = new MemoryStream(); class2.method_1(stream); A_2[BookmarkStart.b("⌥笧弩䄫䌭儯䀱䴳缵嘷尹医䰽ⴿ⍁ぃ⽅❇⑉", num)] = stream; MemoryStream stream2 = new MemoryStream(); class3.method_1(stream2); A_2[BookmarkStart.b("⌥氧䔩伫嬭崯圱娳䈵欷伹儻匽ℿぁ㵃ཅ♇ⱉ⍋㱍㵏㍑⁓㽕㝗㑙", num)] = stream2; }