Пример #1
0
    private static void smethod_19(Class581 A_0, CharacterFormat A_1)
    {
        smethod_4(A_0, A_1);
        ShapeBase base2 = Class964.smethod_4(A_0);

        if (base2 != null)
        {
            base2.ApplyCharacterFormat(A_1);
            if (base2.ShapeType == ShapeType.OleObject)
            {
                DocOleObject oleFormat = (base2 as ShapeObject).OleFormat;
                oleFormat.SetOlePicture((base2 as ShapeObject).ImageData);
                A_0.method_9(oleFormat);
                smethod_20(oleFormat, A_0);
            }
            else if (base2.ShapeType == ShapeType.TextBox)
            {
                TextBox internerTextbox = (base2 as ShapeObject).InternerTextbox;
                A_0.method_9(internerTextbox);
            }
            else if ((base2.ShapeType == ShapeType.Image) || (base2 as ShapeObject).HasImage)
            {
                DocPicture imageData = (base2 as ShapeObject).ImageData;
                imageData.IsShape = true;
                A_0.method_9(imageData);
            }
            else
            {
                base2.CharacterFormat.method_25(A_1);
                A_0.method_9(base2);
            }
        }
    }
Пример #2
0
    private static void smethod_1(Class582 A_0)
    {
        int      num    = 0x12;
        Class394 class2 = A_0.imethod_1();
        int      num2   = class2.method_13(BookmarkStart.b("吷匹伻䨽ဿ⭁❃х㵇♉⁋⭍⑏᭑こ", 0x12), 0);

        while (class2.method_9(BookmarkStart.b("吷匹伻䨽ဿ⭁❃х㵇♉⁋⭍⑏", num)))
        {
            string str;
            if (((str = class2.method_1()) != null) && (str == BookmarkStart.b("䠷匹弻䨽", num)))
            {
                ShapeObject obj2 = Class964.smethod_4(A_0) as ShapeObject;
                if (obj2 != null)
                {
                    DocPicture imageData = obj2.ImageData;
                    num2.ToString();
                    dictionary_0.Add(num2.ToString(), imageData);
                }
            }
            else
            {
                class2.vmethod_1();
            }
        }
    }