private static void smethod_3(ShapeBase A_0, BinaryWriter A_1) { Class273 class2 = new Class273(); Class279 class3 = new Class279(); class3.method_5(A_0.Id); class3.method_31(ShapeType.Image); class3.method_29(true); class3.method_27(true); class2.method_7().Add(class3); Class287 class4 = new Class287(false); class4.method_4().method_24(0x7f, 0x1400140); class2.method_7().Add(class4); Class287 class5 = new Class287(true); class5.method_4().method_24(0x53f, 0x10001); class2.method_7().Add(class5); Class267 class6 = new Class267(); class6.method_5(EscherClientAnchorFlags.Inline); class2.method_7().Add(class6); class2.method_2(A_1); }
internal Class273 method_6(ShapeBase A_0, EscherShapeKind A_1) { Class273 class2 = new Class273(); if (A_0.IsGroup) { Class285 class3 = new Class285(); class3.method_5(A_0.CoordOrigin); class3.method_7(A_0.CoordSize); class2.method_7().Add(class3); } Class279 class4 = new Class279(); class4.method_5(A_0.Id); switch (A_0.ShapeType) { case ShapeType.OleObject: case ShapeType.OleControl: class4.method_31(ShapeType.Image); break; case ShapeType.Group: class4.method_31(ShapeType.NonPrimitive); break; default: class4.method_31(A_0.ShapeType); break; } class4.method_7(A_0.IsGroup); class4.method_25(A_1 == EscherShapeKind.Background); class4.method_9(A_1 == EscherShapeKind.Child); class4.method_23(A_0.IsConnector); class4.method_15(A_0.IsOle && !A_0.IsInline); class4.method_29(!A_0.IsGroup); class4.method_27(true); class4.method_33(A_0.FlipOrientation); class2.method_7().Add(class4); Class287 class8 = new Class287(false); Class287 class5 = new Class287(true); this.class930_0.method_23(A_0, class8.method_4(), class5.method_4(), class4.method_24()); if (class8.method_4().method_2() > 0) { class2.method_7().Add(class8); } if (class5.method_4().method_2() > 0) { class2.method_7().Add(class5); } if (A_1 == EscherShapeKind.InlineReal) { Class267 class11 = new Class267(); class11.method_5(EscherClientAnchorFlags.Inline); class2.method_7().Add(class11); return(class2); } if (!class4.method_24()) { if (class4.method_8()) { Class291 class6 = new Class291(); Class265 class7 = Class265.smethod_3(A_0); class6.method_5((int)class7.double_0); class6.method_7((int)class7.double_1); class6.method_9((int)class7.double_2); class6.method_11((int)class7.double_3); class2.method_7().Add(class6); } else { Class267 class12 = new Class267(); class2.method_7().Add(class12); } } Class280 class9 = new Class280(); class9.method_5(1); class2.method_7().Add(class9); if (A_0.Txid != 0) { Class282 class10 = new Class282(); class10.method_5(A_0.Txid); class2.method_7().Add(class10); } return(class2); }