private void method_7(EscherDrawingType A_0) { Class276 class2 = Class276.smethod_0(A_0); Class278 class3 = new Class278(); Class658 class4 = new Class658(this.document_0, this.class274_0.method_14(), class3); Class931 class5 = new Class931(class4); ShapeBase[] baseArray = smethod_0(this.method_11(A_0)); Class277 class6 = class2.method_16(); for (int i = 0; i < baseArray.Length; i++) { class6.method_7().Add(class5.method_1(baseArray[i], EscherShapeKind.Top)); } if ((A_0 == EscherDrawingType.Main) && (this.shapeObject_0 != null)) { Class273 class7 = class5.method_6(this.shapeObject_0, EscherShapeKind.Background); class2.method_7().Add(class7); } if (class3.method_8() > 0) { class2.method_7().Add(class3); } this.class1063_0.Add(class2); }
private void method_16(ShapeBase A_0) { Stream baseStream = this.class423_0.method_59().BaseStream; BinaryWriter writer = this.class423_0.method_59(); int position = (int)baseStream.Position; Class1107 class2 = new Class1107 { bool_0 = true, int_1 = position }; this.class423_0.method_38(Class816.string_13, A_0.CharacterFormat, class2); Class262 class3 = new Class262(A_0); class3.method_1(writer); if (A_0.CanHaveImage) { ShapeObject obj2 = (ShapeObject)A_0; if (obj2.ImageData.IsLink && !obj2.HasImageBytes) { Class813.smethod_2(obj2.ImageData.SourceFullName, 0x7fffffff, writer, false, false); } } Class931.smethod_1(A_0, writer); int num2 = (int)baseStream.Position; class3.int_2 = num2 - position; baseStream.Position = position; class3.method_1(writer); baseStream.Position = num2; }
private static void smethod_2(ShapeBase A_0, BinaryWriter A_1) { Class350 class2 = new Class350(); Class658 class3 = new Class658(A_0.Document, class2, null); Class273 class5 = new Class931(class3).method_6(A_0, EscherShapeKind.InlineReal); int position = (int)A_1.BaseStream.Position; class5.method_2(A_1); class2.method_0(A_1, position); }
private static void smethod_1(Class277 A_0, Class931 A_1, Hashtable A_2) { for (int i = 1; i < A_0.method_8(); i++) { Class272 class2 = (Class272)A_0.method_9(i); ShapeBase base2 = A_1.method_0(class2); base2.ZOrder = i - 1; A_2[base2.Id] = base2; } }
private void method_10(Class276 A_0) { int num = 14; Class658 class2 = new Class658(this.document_0, this.class274_0.method_14(), A_0.method_13()); Class931 class3 = new Class931(class2); Hashtable hashtable = this.method_11(A_0.method_14()); for (int i = 0; i < A_0.method_8(); i++) { Class266 class4 = A_0.method_9(i); switch (class4.method_3().method_8()) { case EscherRecordType.ShapeGroupContainer: { Class277 class6 = (Class277)class4; if (class6.method_11().method_10() && !class6.method_11().method_12()) { smethod_1(class6, class3, hashtable); } break; } case EscherRecordType.ShapeContainer: { Class273 class5 = (Class273)class4; if (class5.method_11().method_24() && !class5.method_11().method_12()) { this.shapeObject_0 = class3.method_4(class5); } break; } case EscherRecordType.SolverContainer: case EscherRecordType.Dg: case EscherRecordType.RegroupItems: break; case EscherRecordType.Dgg: case EscherRecordType.Bse: goto Label_00FF; default: goto Label_00FF; } } return; Label_00FF: throw new InvalidOperationException(BookmarkStart.b("愳堵匷吹医䤽⸿扁㙃⍅⭇╉㹋⩍灏♑ⵓ♕㵗穙㕛そ䁟͡䙥ⵧᥩཫ٭ᕯqᝳṵᵷࡹ屻ꊋ", num)); }
internal static ShapeObject smethod_0(Class352 A_0, BinaryReader A_1, int A_2) { if (A_2 == 0) { return(null); } long position = A_1.BaseStream.Position; Class1063 class4 = new Class1063(); class4.method_2(A_1, A_2); if (class4.Count == 0) { return(null); } Class273 class5 = (Class273)class4.method_0(0); Class268 class2 = null; Class350 class6 = new Class350(); for (int i = 1; i < class4.Count; i++) { if ((class4.method_0(i) != null) && (class4.method_0(i).method_3().method_8() == EscherRecordType.Bse)) { class2 = (Class268)class4.method_0(i); if (class2 != null) { if (((class2.method_8() == null) && (i < class4.Count)) && (class4.method_0(i + 1) is Class269)) { class2.method_9((Class269)class4.method_0(i + 1)); } Class268 class3 = A_0.method_5(class2.method_8().method_4()); if (class3 != null) { class2 = class3; } else { A_0.method_4(class2); } ((Interface36)class6).imethod_1(class2); } } } Class658 class7 = new Class658(A_0.method_14(), class6, null); ShapeObject obj2 = new Class931(class7).method_4(class5); obj2.TextWrappingStyle = TextWrappingStyle.Inline; return(obj2); }
internal ShapeObject method_40(int A_0) { return(Class931.smethod_0(this.class352_0, base.method_4(), A_0)); }