Esempio n. 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);
            }
        }
    }
Esempio n. 2
0
    internal static Class43 smethod_1(ShapeType A_0)
    {
        Class43 class2 = null;

        lock (object_1)
        {
            if (dictionary_0.ContainsKey(A_0))
            {
                class2 = dictionary_0[A_0];
            }
        }
        if (class2 == null)
        {
            lock (object_1)
            {
                if (dictionary_0.ContainsKey(A_0))
                {
                    return(dictionary_0[A_0]);
                }
                dictionary_0[A_0] = null;
                string str = smethod_0(A_0);
                if (Class567.smethod_16(str))
                {
                    class2            = Class964.smethod_3(new Class466(str));
                    dictionary_0[A_0] = class2;
                }
            }
        }
        return(class2);
    }
Esempio n. 3
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();
            }
        }
    }
Esempio n. 4
0
    internal void method_27()
    {
        int num = 10;

        base.Interface50.imethod_0().bool_6 = false;
        base.method_23(this.class394_0.method_12(BookmarkStart.b("䌯䈱唳唵崷", 10), "") == BookmarkStart.b("䀯䀱儳䔵崷䠹䨻嬽", 10));
        while (this.class394_0.method_9(BookmarkStart.b("䜯崱䘳刵簷唹弻䬽ⴿ❁⩃㉅", num)))
        {
            string key = this.class394_0.method_1();
            if (key != null)
            {
                int num2;
                if (Class1160.dictionary_201 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(13);
                    dictionary1.Add(BookmarkStart.b("振弱唳䐵䰷渹崻夽ᐿ㭁㑃⍅", num), 0);
                    dictionary1.Add(BookmarkStart.b("琯崱圳䌵唷弹刻䨽ဿぁ⭃㙅ⵇ㡉㡋❍㕏⅑", num), 1);
                    dictionary1.Add(BookmarkStart.b("猯䜱䜳䈵圷圹砻儽⌿㝁⥃⍅♇㹉᱋㱍㽏≑ㅓ⑕ⱗ㍙㥛ⵝ", num), 2);
                    dictionary1.Add(BookmarkStart.b("嘯崱娳䈵䬷", num), 3);
                    dictionary1.Add(BookmarkStart.b("嘯䀱唳嬵崷䤹夻䨽", num), 4);
                    dictionary1.Add(BookmarkStart.b("尯嬱䜳䈵䬷", num), 5);
                    dictionary1.Add(BookmarkStart.b("䌯䘱䴳娵崷䤹", num), 6);
                    dictionary1.Add(BookmarkStart.b("启崱圳礵吷弹砻弽㐿⍁", num), 7);
                    dictionary1.Add(BookmarkStart.b("启崱圳攵䴷䨹䰻稽ℿ㙁╃", num), 8);
                    dictionary1.Add(BookmarkStart.b("䌯娱唳䘵崷縹夻堽ℿ㝁⡃㉅㭇", num), 9);
                    dictionary1.Add(BookmarkStart.b("刯唱搳張嬷丹", num), 10);
                    dictionary1.Add(BookmarkStart.b("启崱圳昵䨷", num), 11);
                    dictionary1.Add(BookmarkStart.b("刯崱倳伵", num), 12);
                    Class1160.dictionary_201 = dictionary1;
                }
                if (Class1160.dictionary_201.TryGetValue(key, out num2))
                {
                    switch (num2)
                    {
                    case 0:
                    {
                        this.method_28();
                        continue;
                    }

                    case 1:
                    {
                        Class81.smethod_0(this);
                        continue;
                    }

                    case 2:
                    {
                        Class81.smethod_1(this);
                        continue;
                    }

                    case 3:
                    {
                        Class961.smethod_0(this);
                        continue;
                    }

                    case 4:
                    {
                        continue;
                    }

                    case 5:
                    {
                        Class684.smethod_0(this);
                        continue;
                    }

                    case 6:
                    {
                        Class1081.smethod_0(this);
                        Class684.smethod_11(this);
                        continue;
                    }

                    case 7:
                    {
                        this.method_29();
                        continue;
                    }

                    case 8:
                    {
                        this.method_30();
                        continue;
                    }

                    case 9:
                    {
                        this.class394_0.vmethod_1();
                        continue;
                    }

                    case 10:
                    {
                        Class964.smethod_1(this);
                        continue;
                    }

                    case 11:
                    {
                        Class913.smethod_0(this);
                        continue;
                    }

                    case 12:
                    {
                        Class1038.smethod_0(this);
                        continue;
                    }
                    }
                }
            }
            this.class394_0.vmethod_1();
        }
        base.Interface50.imethod_0().bool_6 = true;
        base.method_0();
        base.method_1();
    }