private void method_21(Class262 A_0, CharacterFormat A_1, int A_2) { ShapeObject obj2 = this.class764_0.method_40(A_2); if (((obj2 != null) && !smethod_2(obj2, A_0)) && A_0.method_3()) { obj2.CharacterFormat.method_73(A_1); A_0.method_2(obj2); this.method_22(obj2); this.class764_0.method_43().imethod_18(obj2); } }
private void method_20(CharacterFormat A_0, int A_1) { this.class764_0.method_4().BaseStream.Position = A_1; Class262 class2 = new Class262(this.class764_0.method_4()); if (class2.int_3 == 0x44) { switch (class2.picfType_0) { case PicfType.InlineEscher: { int num2 = class2.int_2 - class2.int_3; this.method_21(class2, A_0, num2); return; } case ((PicfType)0x65): return; case PicfType.IncludePicture: { string str = Class813.smethod_1(this.class764_0.method_4(), false, false); int num3 = ((class2.int_2 - class2.int_3) - str.Length) - 1; this.method_21(class2, A_0, num3); return; } case PicfType.Metafile1: { int count = class2.int_2 - class2.int_3; byte[] buffer = this.class764_0.method_4().ReadBytes(count); ShapeObject obj2 = new ShapeObject(this.class764_0.method_42(), ShapeType.Image) { TextWrappingStyle = TextWrappingStyle.Inline }; if (buffer.Length > 0) { obj2.ImageData.method_87(buffer); obj2.SetShapeAttribute(0x1006, obj2.ImageData.ImageBytes); } obj2.CharacterFormat.method_25(A_0); class2.method_2(obj2); this.class764_0.method_43().imethod_18(obj2); return; } } } }